Fix toolbar height with wxWidgets 3.1
This commit is contained in:
parent
da26cfb14f
commit
7b596e8ac3
|
@ -947,14 +947,6 @@ MyFrame::MyFrame (
|
|||
stylePosition = aboutPosition = wxDefaultPosition;
|
||||
styleSize = wxSize ( 720, 540 );
|
||||
|
||||
showTopBars (
|
||||
#ifndef __WXOSX__
|
||||
toolbarVisible
|
||||
#else
|
||||
false
|
||||
#endif
|
||||
);
|
||||
|
||||
long style = wxAUI_NB_TOP |
|
||||
wxAUI_NB_TAB_SPLIT |
|
||||
wxAUI_NB_TAB_MOVE |
|
||||
|
@ -1066,6 +1058,14 @@ MyFrame::MyFrame (
|
|||
|
||||
manager.Update();
|
||||
|
||||
showTopBars (
|
||||
#ifndef __WXOSX__
|
||||
toolbarVisible
|
||||
#else
|
||||
false
|
||||
#endif
|
||||
);
|
||||
|
||||
wxAcceleratorEntry entry ( wxACCEL_CTRL, WXK_F4, wxID_CLOSE );
|
||||
wxAcceleratorTable accel ( 1, &entry );
|
||||
SetAcceleratorTable ( accel );
|
||||
|
|
Loading…
Reference in New Issue