mirror of
https://github.com/reactos/reactos.git
synced 2025-07-03 01:21:23 +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
1 changed files with 2 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue