- wxStatusBar(void);
- inline wxStatusBar(wxWindow *parent, const wxWindowID id,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize,
- const long style = 0,
- const wxString& name = wxPanelNameStr)
- {
- Create(parent, id, pos, size, style, name);
- }
+ wxStatusBarGeneric() { Init(); }
+ wxStatusBarGeneric(wxWindow *parent,
+ wxWindowID winid = wxID_ANY,
+ long style = wxST_SIZEGRIP,
+ const wxString& name = wxStatusBarNameStr)
+ {
+ Init();
+
+ Create(parent, winid, style, name);
+ }
+
+ virtual ~wxStatusBarGeneric();
+
+ bool Create(wxWindow *parent, wxWindowID winid = wxID_ANY,
+ long style = wxST_SIZEGRIP,
+ const wxString& name = wxStatusBarNameStr);
+
+ // Create status line
+ virtual void SetFieldsCount(int number = 1,
+ const int *widths = (const int *) NULL);
+
+ // Set status line text
+ virtual void SetStatusText(const wxString& text, int number = 0);
+ virtual wxString GetStatusText(int number = 0) const;