X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/28fdd8db44bc6070c71a77af783fb4da0b554d8c..d9b33d7001af25479a63df96ca2f130b2cbc21aa:/include/wx/gtk/textctrl.h?ds=sidebyside diff --git a/include/wx/gtk/textctrl.h b/include/wx/gtk/textctrl.h index 017116609f..6d73a76004 100644 --- a/include/wx/gtk/textctrl.h +++ b/include/wx/gtk/textctrl.h @@ -44,8 +44,6 @@ public: virtual wxString GetValue() const; virtual bool IsEmpty() const; - virtual void SetValue(const wxString& value) { DoSetValue(value, SetValue_SendEvent); } - virtual void ChangeValue(const wxString& value) { DoSetValue(value); } virtual int GetLineLength(long lineNo) const; virtual wxString GetLineText(long lineNo) const; @@ -176,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); @@ -188,10 +189,7 @@ 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; } - - void DoSetValue(const wxString &value, int flags = 0); + virtual void DoSetValue(const wxString &value, int flags = 0); private: // change the font for everything in this control