From: Paul Cornett Date: Sat, 14 Oct 2006 16:50:04 +0000 (+0000) Subject: correct access for virtual X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/50679f941ec64c417c39582b276068fef8ca59cb correct access for virtual git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/gtk/textctrl.h b/include/wx/gtk/textctrl.h index 8cf1c69570..6d73a76004 100644 --- a/include/wx/gtk/textctrl.h +++ b/include/wx/gtk/textctrl.h @@ -174,6 +174,9 @@ public: static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + // has the control been frozen by Freeze()? + bool IsFrozen() const { return m_frozenness > 0; } + protected: virtual wxSize DoGetBestSize() const; virtual void DoApplyWidgetStyle(GtkRcStyle *style); @@ -186,9 +189,6 @@ protected: // override this and return true. virtual bool UseGTKStyleBase() const { return true; } - // has the control been frozen by Freeze()? - bool IsFrozen() const { return m_frozenness > 0; } - virtual void DoSetValue(const wxString &value, int flags = 0); private: