X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0751510c21fdbde9e75814a3cc75e6678fb12f02..6cf68971005ab7a0ccee82ffffa2924eeb62f689:/include/wx/univ/statusbr.h diff --git a/include/wx/univ/statusbr.h b/include/wx/univ/statusbr.h index f9ee1261b1..52dc440acf 100644 --- a/include/wx/univ/statusbr.h +++ b/include/wx/univ/statusbr.h @@ -40,20 +40,13 @@ public: long style = wxSTB_DEFAULT_STYLE, const wxString& name = wxPanelNameStr); - // set field count/widths + // implement base class methods virtual void SetFieldsCount(int number = 1, const int *widths = NULL); virtual void SetStatusWidths(int n, const int widths[]); - // get/set the text of the given field - virtual void SetStatusText(const wxString& text, int number = 0); - - // Get the position and size of the field's internal bounding rectangle virtual bool GetFieldRect(int i, wxRect& rect) const; - - // sets the minimal vertical size of the status bar virtual void SetMinHeight(int height); - // get the dimensions of the horizontal and vertical borders virtual int GetBorderX() const; virtual int GetBorderY() const; @@ -62,6 +55,8 @@ public: { return const_cast(this); } protected: + virtual void DoUpdateStatusText(int i); + // recalculate the field widths void OnSize(wxSizeEvent& event); @@ -87,9 +82,6 @@ protected: // get the rect for this field without ani side effects (see code) wxRect DoGetFieldRect(int n) const; - // refresh the given field - void RefreshField(int i); - // common part of all ctors void Init();