- virtual wxStatusBar* CreateStatusBar(int number = 1,
- long style = wxST_SIZEGRIP,
- wxWindowID id = 0,
- const wxString& name = wxStatusLineNameStr);
-
- wxStatusBar *GetStatusBar() const { return m_frameStatusBar; }
- void SetStatusBar(wxStatusBar *statusBar) { m_frameStatusBar = statusBar; }
-
- virtual void PositionStatusBar();
- virtual wxStatusBar *OnCreateStatusBar(int number,
- long style,
- wxWindowID id,
- const wxString& name);
-
- // Set status line text
- virtual void SetStatusText(const wxString& text, int number = 0);
+#if wxUSE_STATUSBAR
+ virtual wxStatusBar* OnCreateStatusBar(int number = 1,
+ long style = wxST_SIZEGRIP,
+ wxWindowID id = 0,
+ const wxString& name = wxStatusLineNameStr);