mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +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
1 changed files with 5 additions and 0 deletions
|
@ -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