mdi: add a separator to windows menu

Huw D M Davies h.davies1 at physics.ox.ac.uk
Tue Mar 9 04:33:41 CST 2004


        Huw Davies <huw at codeweavers.com>
        Windows always adds a separator to the bottom of the new
        window menu. Thanks to Dmitry Timoshkov for confirming this.
-- 
Huw Davies
huw at codeweavers.com
Index: windows/mdi.c
===================================================================
RCS file: /home/wine/wine/windows/mdi.c,v
retrieving revision 1.122
diff -u -r1.122 mdi.c
--- windows/mdi.c	12 Feb 2004 00:35:01 -0000	1.122
+++ windows/mdi.c	9 Mar 2004 10:29:18 -0000
@@ -315,6 +315,7 @@
 
             /* Add items to the new Window menu */
             ci->nActiveChildren = nActiveChildren_old;
+            AppendMenuW(hmenuWindow, MF_SEPARATOR, 0, NULL);
             MDI_RefreshMenu(ci);
         }
         else



More information about the wine-patches mailing list