- Patch by Dmitry Timoshkov : Menu item with a "magic" bitmap should not have MFT_BITMAP type set.
- Wine sync port.

svn path=/trunk/; revision=69933
This commit is contained in:
James Tabor
2015-11-18 21:28:57 +00:00
parent c8e6ca880d
commit 548249e4b0
+2 -1
View File
@@ -201,7 +201,8 @@ static BOOL GetMenuItemInfo_common ( HMENU hmenu,
return FALSE;
}
lpmii->fType = pItem->fType & MENUITEMINFO_TYPE_MASK;
if( pItem->hbmp) lpmii->fType |= MFT_BITMAP;
if (pItem->hbmp && !IS_MAGIC_BITMAP(pItem->hbmp))
lpmii->fType |= MFT_BITMAP;
lpmii->hbmpItem = pItem->hbmp; /* not on Win9x/ME */
if( lpmii->fType & MFT_BITMAP)
{