[ros-diffs] [tkreuzer] 32147: Windows doesn't store a hbrBack, when creating a window

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Wed Feb 6 05:01:02 CET 2008


Author: tkreuzer
Date: Wed Feb  6 07:01:02 2008
New Revision: 32147

URL: http://svn.reactos.org/svn/reactos?rev=32147&view=rev
Log:
Windows doesn't store a hbrBack, when creating a window

Modified:
    trunk/reactos/subsystems/win32/win32k/ntuser/menu.c

Modified: trunk/reactos/subsystems/win32/win32k/ntuser/menu.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntuser/menu.c?rev=32147&r1=32146&r2=32147&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/menu.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/menu.c Wed Feb  6 07:01:02 2008
@@ -346,7 +346,7 @@
    Menu->MenuInfo.fMask = 0; /* not used */
    Menu->MenuInfo.dwStyle = 0; /* FIXME */
    Menu->MenuInfo.cyMax = 0; /* default */
-   Menu->MenuInfo.hbrBack = IntGetSysColorBrush(COLOR_MENU);
+   Menu->MenuInfo.hbrBack = NULL; /* no brush */
    Menu->MenuInfo.dwContextHelpID = 0; /* default */
    Menu->MenuInfo.dwMenuData = 0; /* default */
    Menu->MenuInfo.Self = *Handle;




More information about the Ros-diffs mailing list