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:
@@ -44,12 +44,13 @@ public:
|
|||||||
const wxString& name = wxStaticTextNameStr);
|
const wxString& name = wxStaticTextNameStr);
|
||||||
|
|
||||||
|
|
||||||
protected:
|
// overridden base class virtual methods
|
||||||
virtual wxSize DoGetBestClientSize() const;
|
|
||||||
|
|
||||||
virtual void SetLabel(const wxString& label);
|
virtual void SetLabel(const wxString& label);
|
||||||
virtual bool SetFont(const wxFont &font);
|
virtual bool SetFont(const wxFont &font);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
virtual wxSize DoGetBestClientSize() const;
|
||||||
|
|
||||||
virtual wxString DoGetLabel() const { return m_label; }
|
virtual wxString DoGetLabel() const { return m_label; }
|
||||||
virtual void DoSetLabel(const wxString& label);
|
virtual void DoSetLabel(const wxString& label);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user