mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
fixed disabled caption buttons bug
svn path=/trunk/; revision=6001
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $Id: defwnd.c,v 1.77 2003/09/06 14:30:21 weiden Exp $
|
||||
/* $Id: defwnd.c,v 1.78 2003/09/06 16:59:30 weiden Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS user32.dll
|
||||
@@ -890,6 +890,9 @@ DefWndDoButtonHandle(HWND hWnd, WPARAM wParam)
|
||||
return;
|
||||
}
|
||||
|
||||
if(!HasBtn)
|
||||
return;
|
||||
|
||||
SetCapture(hWnd);
|
||||
UserDrawCaptionButton( hWnd, GetWindowDC(hWnd), HasBtn , Btn);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user