user: Fix disabled menu item behavior
dank at kegel.com
Fri Apr 14 20:53:11 CDT 2006
Tommy Kho wrote:
>This patch changes the behavior of selecting greyed out menu items via
>accelerator key. Wine currently keeps the menu open; Windows closes the menu.
> pmt->hCurrentMenu = MENU_ShowSubPopup(pmt->hOwnerWnd, hMenu, TRUE, wFlags);
>+ return -1;
>- return -1;
>+ return -2;
Err, isn't the return -2 at the bottom dead code now?
That seems wrong...
Wine for Windows ISVs: http://kegel.com/wine/isv
More information about the wine-devel