Commit 07c447f9 authored by Pascal Lessard's avatar Pascal Lessard Committed by Alexandre Julliard

Added a case for menu handling in win31.

parent dee464c4
...@@ -2224,8 +2224,14 @@ static BOOL MENU_ButtonDown( MTRACKER* pmt, HMENU hPtMenu ) ...@@ -2224,8 +2224,14 @@ static BOOL MENU_ButtonDown( MTRACKER* pmt, HMENU hPtMenu )
/* If the popup menu is not already "popped" */ /* If the popup menu is not already "popped" */
if(!(item->fState & MF_MOUSESELECT )) if(!(item->fState & MF_MOUSESELECT ))
{
pmt->hCurrentMenu = MENU_ShowSubPopup( pmt->hOwnerWnd, hPtMenu, FALSE ); 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; return TRUE;
} }
else WARN("\tunable to find clicked item!\n"); else WARN("\tunable to find clicked item!\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment