+
+ // create the main status bar by calling OnCreateStatusBar()
+ virtual wxStatusBar* CreateStatusBar(int number = 1,
+ long style = wxST_SIZEGRIP,
+ 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 = -1,
+ const wxString& name = wxToolBarNameStr);
+ // sets the main tool bar
+ virtual void SetToolBar(wxToolBar *toolbar);
+#endif //wxUSE_TOOLBAR
+protected:
+ void PositionStatusBar();