Author: jimtabor
Date: Thu Nov 15 04:28:26 2007
New Revision: 30451
URL:
http://svn.reactos.org/svn/reactos?rev=30451&view=rev
Log:
Fix define from wine.
Modified:
trunk/reactos/dll/win32/user32/windows/nonclient.c
Modified: trunk/reactos/dll/win32/user32/windows/nonclient.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/n…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/nonclient.c (original)
+++ trunk/reactos/dll/win32/user32/windows/nonclient.c Thu Nov 15 04:28:26 2007
@@ -258,6 +258,7 @@
UserDrawCaptionButton(&WindowRect, Style, ExStyle, hDC, bDown, Type);
}
+#define DCX_USESTYLE 0x00010000
/*
* FIXME:
* - Drawing of WS_BORDER after scrollbars
@@ -276,7 +277,7 @@
Style = GetWindowLongW(hWnd, GWL_STYLE);
- hDC = GetDCEx(hWnd, hRgn, DCX_WINDOW | DCX_INTERSECTRGN | 0x10000);
+ hDC = GetDCEx(hWnd, hRgn, DCX_WINDOW | DCX_INTERSECTRGN | DCX_USESTYLE);
if (hDC == 0)
{
return 0;