user32: further implementation of MNS_NOTIFYBYPOS (fixes bug 12540)

Igor Tarasov tarasov.igor at gmail.com
Wed May 14 04:43:29 CDT 2008


Initial patch had no checkups for NULL retruns. This caused Safari to
crash. Rewritten it so that it works pretty cautious.

2008/5/14, Igor Tarasov <tarasov.igor at gmail.com>:
> Native user32.dll seems to check not only current menu's dwStyle for
>  MNS_NOTIFYBYPOS, but also main window menu's one (acquired through
>  GetMenu(menu->hwndOwner)). This behavior is implemented by this patch.
>  Fixes bug http://bugs.winehq.org/show_bug.cgi?id=12540
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-user-32-further-implementation-of-MNS_NOTIFYBYPOS.patch
Type: application/octet-stream
Size: 1103 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080514/6658ea3e/attachment.obj 


More information about the wine-patches mailing list