From 07c447f971d18bfb3b95f71d82764bea7f0c9996 Mon Sep 17 00:00:00 2001 From: Pascal Lessard Date: Sun, 19 Sep 1999 12:03:25 +0000 Subject: [PATCH] Added a case for menu handling in win31. --- controls/menu.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/controls/menu.c b/controls/menu.c index 81226d474a1..d263c181c26 100644 --- a/controls/menu.c +++ b/controls/menu.c @@ -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");