user32: only try to remove the document icon from the frame menu
when needed
Peter Oberndorfer
kumbayo84 at arcor.de
Mon Jan 22 13:38:24 CST 2007
previously MDI_RestoreFrameMenu would be called on every WM_SIZE message,
which does not maximize the window.
But this function removes the leftmost menu entry of the frame menu so it only must be called,
when switching from maximized to restored, or menu entries will disappear
this should fix http://bugs.winehq.org/show_bug.cgi?id=7190
Changelog:
user32: only try to remove the document icon from the frame menu when needed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mdi_deletes_menu.diff
Type: text/x-diff
Size: 521 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070122/ac449d67/mdi_deletes_menu.bin
More information about the wine-patches
mailing list