+class WXDLLIMPEXP_CORE wxStatusBarBase : public wxWindow
+{
+public:
+ wxStatusBarBase();
+
+ virtual ~wxStatusBarBase();
+
+ // field count
+ // -----------
+
+ // set the number of fields and call SetStatusWidths(widths) if widths are
+ // given
+ virtual void SetFieldsCount(int number = 1, const int *widths = NULL);
+ int GetFieldsCount() const { return m_panes.GetCount(); }
+
+ // field text
+ // ----------
+
+ // NOTE: even if it is not pure virtual, SetStatusText() must be overloaded by
+ // the derived classes to update the given text in the native control
+ virtual void SetStatusText(const wxString& text, int number = 0)
+ { m_panes[number].GetStack().Last() = text; }
+ virtual wxString GetStatusText(int number = 0) const
+ { return m_panes[number].GetStack().Last(); }
+ const wxArrayString& GetStatusStack(int n) const
+ { return m_panes[n].GetStack(); }
+
+ void PushStatusText(const wxString& text, int number = 0);
+ void PopStatusText(int number = 0);
+
+ // fields widths
+ // -------------
+
+ // set status field widths as absolute numbers: positive widths mean that
+ // the field has the specified absolute width, negative widths are
+ // interpreted as the sizer options, i.e. the extra space (total space
+ // minus the sum of fixed width fields) is divided between the fields with
+ // negative width according to the abs value of the width (field with width
+ // -2 grows twice as much as one with width -1 &c)
+ virtual void SetStatusWidths(int n, const int widths[]);
+
+ int GetStatusWidth(int n) const
+ { return m_panes[n].GetWidth(); }
+
+ // field styles
+ // ------------
+
+ // Set the field style. Use either wxSB_NORMAL (default) for a standard 3D
+ // border around a field, wxSB_FLAT for no border around a field, so that it
+ // appears flat or wxSB_POPOUT to make the field appear raised.
+ // Setting field styles only works on wxMSW
+ virtual void SetStatusStyles(int n, const int styles[]);
+
+ int GetStatusStyle(int n) const
+ { return m_panes[n].GetStyle(); }
+
+ // geometry
+ // --------