Author: mkupfer
Date: Tue Jun 30 04:44:59 2009
New Revision: 41704
URL:
http://svn.reactos.org/svn/reactos?rev=41704&view=rev
Log:
- revert selecting color and inactive menu state, because it doesn't work that way
- needs further invastigation
Modified:
trunk/reactos/dll/win32/user32/windows/draw.c
Modified: trunk/reactos/dll/win32/user32/windows/draw.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/d…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/draw.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/draw.c [iso-8859-1] Tue Jun 30 04:44:59 2009
@@ -1023,6 +1023,8 @@
hFont = CreateFontIndirect(&lf);
/* save font */
hOldFont = SelectObject(dc, hFont);
+ // FIXME selecting color doesn't work
+#if 0
if(uFlags & DFCS_INACTIVE)
{
/* draw shadow */
@@ -1030,6 +1032,7 @@
TextOut(dc, r->left + 1, r->top + 1, &Symbol, 1);
}
SetTextColor(dc, GetSysColor((uFlags & DFCS_INACTIVE) ? COLOR_BTNSHADOW :
COLOR_BTNTEXT));
+#endif
/* draw selected symbol */
TextOut(dc, r->left, r->top, &Symbol, 1);
/* restore previous settings */