mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
oops.
svn path=/trunk/; revision=4217
This commit is contained in:
parent
107f4e64ce
commit
23d3f40462
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: defwnd.c,v 1.21 2003/02/28 23:19:32 rcampbell Exp $
|
/* $Id: defwnd.c,v 1.22 2003/02/28 23:20:41 rcampbell 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
|
||||||
|
@ -225,7 +225,7 @@ static void UserDrawCloseButton ( HWND hWnd, HDC hDC, BOOL down )
|
||||||
UserGetInsideRectNC( hWnd, &rect );
|
UserGetInsideRectNC( hWnd, &rect );
|
||||||
hDCMem = CreateCompatibleDC( hDC );
|
hDCMem = CreateCompatibleDC( hDC );
|
||||||
|
|
||||||
SelectObject( hDCMem, (down ? hbitmapCloseD : hbitmapClose) );
|
SelectObject( hDCMem, (hbitmapClose) );
|
||||||
|
|
||||||
BitBlt( hDC,rect.right - GetSystemMetrics(SM_CXSMSIZE), rect.top + 1,
|
BitBlt( hDC,rect.right - GetSystemMetrics(SM_CXSMSIZE), rect.top + 1,
|
||||||
GetSystemMetrics(SM_CXSMSIZE) + 1, GetSystemMetrics(SM_CYSMSIZE),
|
GetSystemMetrics(SM_CXSMSIZE) + 1, GetSystemMetrics(SM_CYSMSIZE),
|
||||||
|
|
Loading…
Reference in a new issue