Windows always adds a separator to the bottom of the new window

menu. Thanks to Dmitry Timoshkov for confirming this.
oldstable
Huw Davies 2004-03-09 19:19:29 +00:00 committed by Alexandre Julliard
parent d315f6b1d7
commit bed797e1ee
1 changed files with 1 additions and 0 deletions

View File

@ -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