X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c33522fca7cddc441a316f5b9fb50d7685435ba..4bea628d007cc8add79e6dee2863c7bdc1bccce5:/include/wx/univ/statusbr.h?ds=inline diff --git a/include/wx/univ/statusbr.h b/include/wx/univ/statusbr.h index 992b0ec99b..f9ee1261b1 100644 --- a/include/wx/univ/statusbr.h +++ b/include/wx/univ/statusbr.h @@ -16,18 +16,18 @@ #include "wx/arrstr.h" // ---------------------------------------------------------------------------- -// wxStatusBar: a window near the bottom of the frame used for status info +// wxStatusBarUniv: a window near the bottom of the frame used for status info // ---------------------------------------------------------------------------- class WXDLLIMPEXP_CORE wxStatusBarUniv : public wxStatusBarBase, - public wxInputConsumer + public wxInputConsumer { public: wxStatusBarUniv() { Init(); } wxStatusBarUniv(wxWindow *parent, wxWindowID id = wxID_ANY, - long style = 0, + long style = wxSTB_DEFAULT_STYLE, const wxString& name = wxPanelNameStr) { Init(); @@ -37,7 +37,7 @@ public: bool Create(wxWindow *parent, wxWindowID id = wxID_ANY, - long style = 0, + long style = wxSTB_DEFAULT_STYLE, const wxString& name = wxPanelNameStr); // set field count/widths @@ -46,7 +46,6 @@ public: // get/set the text of the given field virtual void SetStatusText(const wxString& text, int number = 0); - virtual wxString GetStatusText(int number = 0) const; // Get the position and size of the field's internal bounding rectangle virtual bool GetFieldRect(int i, wxRect& rect) const; @@ -95,8 +94,8 @@ protected: void Init(); private: - // the status fields strings - wxArrayString m_statusText; + // the current status fields strings + //wxArrayString m_statusText; // the absolute status fields widths wxArrayInt m_widthsAbs;