mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 21:04:26 +00:00
- 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) svn path=/trunk/; revision=33478
This commit is contained in:
parent
5bc1879d50
commit
c0c67eed2b
|
@ -3774,6 +3774,11 @@ MenuSetItemData(
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue