Added a case for menu handling in win31.

oldstable
Pascal Lessard 1999-09-19 12:03:25 +00:00 committed by Alexandre Julliard
parent dee464c4c6
commit 07c447f971
1 changed files with 6 additions and 0 deletions

View File

@ -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");