Author: weiden
Date: Fri Jan 16 17:56:11 2009
New Revision: 38802
URL:
http://svn.reactos.org/svn/reactos?rev=38802&view=rev
Log:
Fix background color used for DrawCaptionTemp with DC_INBUTTON
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/painting.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/painting.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/painting.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/painting.c [iso-8859-1] Fri Jan 16
17:56:11 2009
@@ -1678,8 +1678,7 @@
if(uFlags & DC_INBUTTON)
{
hOldBrush = NtGdiSelectBrush(hMemDc,
- IntGetSysColorBrush(uFlags & DC_ACTIVE ?
- COLOR_BTNFACE : COLOR_BTNSHADOW));
+ IntGetSysColorBrush(COLOR_3DFACE));
if(!hOldBrush)
{