X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f26c1c3e4a1b76ac1ae03bc0bc1ec2393494e144..2d55af1dfa7fd1cc2df13a6593fd51591cfcfcb1:/include/wx/generic/stattextg.h diff --git a/include/wx/generic/stattextg.h b/include/wx/generic/stattextg.h index 02860ea951..361c3dc007 100644 --- a/include/wx/generic/stattextg.h +++ b/include/wx/generic/stattextg.h @@ -44,12 +44,13 @@ public: const wxString& name = wxStaticTextNameStr); -protected: - virtual wxSize DoGetBestClientSize() 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);