+
+ // create the main status bar by calling OnCreateStatusBar()
+ virtual wxStatusBar* CreateStatusBar(int number = 1,
+ long style = wxSTB_DEFAULT_STYLE,
+ wxWindowID winid = 0,
+ const wxString& name =
+ wxStatusLineNameStr);
+ // sets the main status bar
+ void SetStatusBar(wxStatusBar *statBar);
+#if wxUSE_TOOLBAR
+ // create main toolbar bycalling OnCreateToolBar()
+ virtual wxToolBar* CreateToolBar(long style = -1,
+ wxWindowID winid = wxID_ANY,
+ const wxString& name = wxToolBarNameStr);
+ // sets the main tool bar
+ virtual void SetToolBar(wxToolBar *toolbar);
+#endif //wxUSE_TOOLBAR
+protected:
+ void PositionStatusBar();