mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 09:24:11 +00:00
use syscolor brush for menu background, fixes a brush leak.
svn path=/trunk/; revision=32146
This commit is contained in:
parent
8de349c343
commit
d03dd0d4f6
|
@ -346,8 +346,7 @@ IntCreateMenu(PHANDLE Handle, BOOL IsMenuBar)
|
||||||
Menu->MenuInfo.fMask = 0; /* not used */
|
Menu->MenuInfo.fMask = 0; /* not used */
|
||||||
Menu->MenuInfo.dwStyle = 0; /* FIXME */
|
Menu->MenuInfo.dwStyle = 0; /* FIXME */
|
||||||
Menu->MenuInfo.cyMax = 0; /* default */
|
Menu->MenuInfo.cyMax = 0; /* default */
|
||||||
Menu->MenuInfo.hbrBack =
|
Menu->MenuInfo.hbrBack = IntGetSysColorBrush(COLOR_MENU);
|
||||||
NtGdiCreateSolidBrush(RGB(192, 192, 192), 0); /* FIXME: default background color */
|
|
||||||
Menu->MenuInfo.dwContextHelpID = 0; /* default */
|
Menu->MenuInfo.dwContextHelpID = 0; /* default */
|
||||||
Menu->MenuInfo.dwMenuData = 0; /* default */
|
Menu->MenuInfo.dwMenuData = 0; /* default */
|
||||||
Menu->MenuInfo.Self = *Handle;
|
Menu->MenuInfo.Self = *Handle;
|
||||||
|
|
Loading…
Reference in a new issue