You could turn the auto-window-menu off using
wxMenuBar::SetAutoWindowMenu(false)but since all the standard window manipulation commands are in there, this should rarely be used ...
Right now I'm not reordering the menus in a menubar, only adding the apple menu in the front and the window menu at the end, so the recommended way to arrive at the correct order right now would be, e.g. if you'd take the minimal sample to add a dummy window menu
menuBar->Append(fileMenu, "&File"); menuBar->Append(new wxMenu(), "&Window"); menuBar->Append(helpMenu, "&Help");