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:
parent
073c8844e0
commit
0a5a3c383c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue