Added a case for menu handling in win31.
diff --git a/controls/menu.c b/controls/menu.c
index 81226d4..d263c18 100644
--- a/controls/menu.c
+++ b/controls/menu.c
@@ -2224,8 +2224,14 @@
/* 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");