X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ee2ec18e88701d8f0709009616584153ca85d7a7..c5bad6049fe4b1a487d2e3f66a72678bc0933fcd:/include/wx/gtk/textctrl.h 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: