user: Fix disabled menu item behavior
Dan Kegel
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.
> ...
> else
>+ {
> 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...
- Dan
--
Wine for Windows ISVs: http://kegel.com/wine/isv
More information about the wine-devel
mailing list