Author: janderwald
Date: Mon May 12 12:17:55 2008
New Revision: 33478
URL:
http://svn.reactos.org/svn/reactos?rev=33478&view=rev
Log:
- ModifyMenu[A|W], AppendMenu[A|W], InsertMenu[A|W] should accept MF_HILITE
- verified by user32_winetest.exe
- ReactOS now passes these tests (test_menu_flags)
Modified:
trunk/reactos/dll/win32/user32/windows/menu.c
Modified: trunk/reactos/dll/win32/user32/windows/menu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/m…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/menu.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/menu.c [iso-8859-1] Mon May 12 12:17:55 2008
@@ -3774,6 +3774,11 @@
mii->fState |= MFS_DISABLED;
mii->fMask |= MIIM_STATE;
}
+ else if (Flags & MF_HILITE)
+ {
+ mii->fState |= MF_HILITE;
+ mii->fMask |= MIIM_STATE;
+ }
else /* default state */
{
mii->fState |= MFS_ENABLED;