mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
fixed disabled caption buttons bug
svn path=/trunk/; revision=6001
This commit is contained in:
parent
81b36f5903
commit
62847198aa
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue