mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[User32]
- 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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user