Restore correct access to wxGenericStaticText::Set{Font,Label}.

Accessibility of these methods was accidentally changed to protected in r62821
and this broke wxUniv compilation, make them public again.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2009-12-14 12:41:55 +00:00
parent 03773e400b
commit 5851e64078

View File

@ -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);