Peter Gerwinski wrote:
Hello,
while developing an application for WINE (also intended to run under MSPOW = MicroSoft's Parody Of WINE, spoken "m-spow";-) I encountered something which I consider a bug in WINE:
When I invoke EnableMenuItem to enable/disable a menu item holding a command with the numeric value 200, the first popup menu is enabled/disabled instead of the menu item. (This behaviour does not show up under MSPOW, version "ME".)
IMHO this is due to a wrong order of two "if" conditions in control/menu.c:MENU_FindItem().
I am attaching a patch which fixed the problem for me.
Hi. Please submit to wine-patches. It will be unlikely to get into wine if submitted here.