http://bugs.winehq.org/show_bug.cgi?id=12540
--- Comment #12 from Igor Tarasov tarasov.igor@gmail.com 2008-05-13 14:57:24 --- Created an attachment (id=13029) --> (http://bugs.winehq.org/attachment.cgi?id=13029) Patch that fixes this bug
I think I have patched this. I was able to find out, that dwStyle for only one menu was set to MNS_NOTIFYBYPOS, and this is the main menu (the one holding all items, such as file, view, edit, help). And user32 checks for this menu's flag (I suppose).
So, I've written this patch, that checks not only current menu style, but also main menu.
This fixed wrong behavior of WTLIB, while other software I was able to check works well still.