Fix background color used for DrawCaptionTemp with DC_INBUTTON

svn path=/trunk/; revision=38802
This commit is contained in:
Thomas Bluemel 2009-01-16 23:56:11 +00:00
parent 459110618d
commit 6df90967f0

View file

@ -1678,8 +1678,7 @@ BOOL UserDrawCaption(
if(uFlags & DC_INBUTTON)
{
hOldBrush = NtGdiSelectBrush(hMemDc,
IntGetSysColorBrush(uFlags & DC_ACTIVE ?
COLOR_BTNFACE : COLOR_BTNSHADOW));
IntGetSysColorBrush(COLOR_3DFACE));
if(!hOldBrush)
{