X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6519b40fe9f5e4706e02497fe01ff71c65079d6..7564225f8bff6e6c2ed27695836035fa85a81189:/include/wx/gtk/textctrl.h diff --git a/include/wx/gtk/textctrl.h b/include/wx/gtk/textctrl.h index 8cde769c6b..6d73a76004 100644 --- a/include/wx/gtk/textctrl.h +++ b/include/wx/gtk/textctrl.h @@ -43,9 +43,7 @@ public: // ---------------------------------- virtual wxString GetValue() const; - virtual void SetValue(const wxString& value) { DoSetValue(value, SetValue_SendEvent); } - - virtual void ChangeValue(const wxString &value) { DoSetValue(value); } + virtual bool IsEmpty() const; 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