Added a case for menu handling in win31.
This commit is contained in:
parent
dee464c4c6
commit
07c447f971
|
@ -2224,8 +2224,14 @@ static BOOL MENU_ButtonDown( MTRACKER* pmt, HMENU hPtMenu )
|
|||
|
||||
/* If the popup menu is not already "popped" */
|
||||
if(!(item->fState & MF_MOUSESELECT ))
|
||||
{
|
||||
pmt->hCurrentMenu = MENU_ShowSubPopup( pmt->hOwnerWnd, hPtMenu, FALSE );
|
||||
|
||||
/* In win31, a newly popped menu always remain opened for the next buttonup */
|
||||
if(TWEAK_WineLook == WIN31_LOOK)
|
||||
ptmenu->bTimeToHide = FALSE;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
else WARN("\tunable to find clicked item!\n");
|
||||
|
|
Loading…
Reference in New Issue