small fix

svn path=/trunk/; revision=7244
This commit is contained in:
Thomas Bluemel 2003-12-26 01:05:41 +00:00
parent f90a37f641
commit 51be13a34a
2 changed files with 3 additions and 2 deletions

View file

@ -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
* PROJECT: ReactOS user32.dll
@ -974,7 +974,6 @@ User32DefWindowProc(HWND hWnd,
return (DefWndNCLButtonDown(hWnd, wParam, lParam));
}
case WM_LBUTTONDBLCLK:
case WM_NCLBUTTONDBLCLK:
{
return (DefWndNCLButtonDblClk(hWnd, wParam, lParam));

View file

@ -931,6 +931,8 @@ DefWndNCLButtonDblClk(HWND hWnd, WPARAM wParam, LPARAM lParam)
SendMessageW(hWnd, WM_SYSCOMMAND, SC_CLOSE, 0);
break;
}
default:
return DefWndNCLButtonDown(hWnd, wParam, lParam);
}
return(0);
}