From bed797e1ee57b914936b7bba03f3c9baed38367e Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Tue, 9 Mar 2004 19:19:29 +0000 Subject: [PATCH] Windows always adds a separator to the bottom of the new window menu. Thanks to Dmitry Timoshkov for confirming this. --- windows/mdi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/windows/mdi.c b/windows/mdi.c index f3ee2ae44ab..9162c7c5b92 100644 --- a/windows/mdi.c +++ b/windows/mdi.c @@ -315,6 +315,7 @@ static LRESULT MDISetMenu( HWND hwnd, HMENU hmenuFrame, /* Add items to the new Window menu */ ci->nActiveChildren = nActiveChildren_old; + AppendMenuW(hmenuWindow, MF_SEPARATOR, 0, NULL); MDI_RefreshMenu(ci); } else