Windows always adds a separator to the bottom of the new window
menu. Thanks to Dmitry Timoshkov for confirming this.
This commit is contained in:
parent
d315f6b1d7
commit
bed797e1ee
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue