mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 12:04:51 +00:00
small fix
svn path=/trunk/; revision=7244
This commit is contained in:
parent
f90a37f641
commit
51be13a34a
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: defwnd.c,v 1.115 2003/12/24 01:26:10 weiden Exp $
|
/* $Id: defwnd.c,v 1.116 2003/12/26 01:05:41 weiden Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS user32.dll
|
* PROJECT: ReactOS user32.dll
|
||||||
|
@ -974,7 +974,6 @@ User32DefWindowProc(HWND hWnd,
|
||||||
return (DefWndNCLButtonDown(hWnd, wParam, lParam));
|
return (DefWndNCLButtonDown(hWnd, wParam, lParam));
|
||||||
}
|
}
|
||||||
|
|
||||||
case WM_LBUTTONDBLCLK:
|
|
||||||
case WM_NCLBUTTONDBLCLK:
|
case WM_NCLBUTTONDBLCLK:
|
||||||
{
|
{
|
||||||
return (DefWndNCLButtonDblClk(hWnd, wParam, lParam));
|
return (DefWndNCLButtonDblClk(hWnd, wParam, lParam));
|
||||||
|
|
|
@ -931,6 +931,8 @@ DefWndNCLButtonDblClk(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
||||||
SendMessageW(hWnd, WM_SYSCOMMAND, SC_CLOSE, 0);
|
SendMessageW(hWnd, WM_SYSCOMMAND, SC_CLOSE, 0);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
default:
|
||||||
|
return DefWndNCLButtonDown(hWnd, wParam, lParam);
|
||||||
}
|
}
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue