X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bce49490f66910767d8a3dd7ea5ebafc5f40005b..59d866ad8510b8674e6cc7cdf218c4c0010d3925:/include/wx/generic/stattextg.h diff --git a/include/wx/generic/stattextg.h b/include/wx/generic/stattextg.h index ef225e12b2..361c3dc007 100644 --- a/include/wx/generic/stattextg.h +++ b/include/wx/generic/stattextg.h @@ -44,20 +44,21 @@ public: const wxString& name = wxStaticTextNameStr); - virtual wxSize DoGetBestClientSize() const; - virtual wxSize DoGetBestSize() const; - + // overridden base class virtual methods virtual void SetLabel(const wxString& label); virtual bool SetFont(const wxFont &font); +protected: + virtual wxSize DoGetBestClientSize() const; + virtual wxString DoGetLabel() const { return m_label; } virtual void DoSetLabel(const wxString& label); -protected: - void OnPaint(wxPaintEvent& event); void DoSetSize(int x, int y, int width, int height, int sizeFlags); private: + void OnPaint(wxPaintEvent& event); + wxString m_label; int m_mnemonic;