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.
Greetings,
Peter, wondering why item->wID has a value of 200 in the first place