diff --git a/src/xmlcopyeditor.cpp b/src/xmlcopyeditor.cpp index 7dddaec..0c256e0 100644 --- a/src/xmlcopyeditor.cpp +++ b/src/xmlcopyeditor.cpp @@ -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 );