wx: Change rotation after setting the menu bar

I need to set the menu bar before setting the window size.
Otherwise it is a little bit too short.

From: Jan Bücken (nooris), #3301520
This commit is contained in:
riccardom 2011-06-03 17:29:57 +00:00
parent 073c8844e0
commit 0a5a3c383c
1 changed files with 2 additions and 1 deletions

View File

@ -716,8 +716,9 @@ DesmumeFrame::DesmumeFrame(const wxString& title)
loadmenuBar(menuBar);
ChangeRotation(nds_screen_rotation_angle, false);
SetMenuBar(menuBar);
ChangeRotation(nds_screen_rotation_angle, false);
}
void DesmumeFrame::loadfileMenu(wxMenu *fileMenu)