Andrew Eikum : user32: Don' t always insert menu items during WM_MDISETMENU.

Alexandre Julliard julliard at winehq.org
Mon Aug 8 11:09:29 CDT 2016


Module: wine
Branch: master
Commit: c1c3198aa4e7f62eedcd960351fc458694171b99
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c1c3198aa4e7f62eedcd960351fc458694171b99

Author: Andrew Eikum <aeikum at codeweavers.com>
Date:   Fri Aug  5 15:08:38 2016 -0500

user32: Don't always insert menu items during WM_MDISETMENU.

MSDN says WM_MDISETMENU shouldn't change the frame menu if it is given
as NULL. Tests bear that out. Some other tests are included to show we
haven't broken behavior on e.g. initially maximized MDI child windows.

Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/user32/mdi.c       |  11 ------
 dlls/user32/tests/win.c | 100 ++++++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 97 insertions(+), 14 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=c1c3198aa4e7f62eedcd960351fc458694171b99



More information about the wine-cvs mailing list