X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6762286db6cf974817dead5b88bebf0e390dbb7e..0ee316821c467b45d759bd0b728842d5521ba632:/include/wx/osx/textctrl.h?ds=sidebyside diff --git a/include/wx/osx/textctrl.h b/include/wx/osx/textctrl.h index df6967f9ab..76f52edf97 100644 --- a/include/wx/osx/textctrl.h +++ b/include/wx/osx/textctrl.h @@ -63,7 +63,6 @@ public: // accessors // --------- - virtual wxString GetValue() const; virtual int GetLineLength(long lineNo) const; virtual wxString GetLineText(long lineNo) const; @@ -80,7 +79,6 @@ public: // editing virtual void Clear(); - virtual void Replace(long from, long to, const wxString& value); virtual void Remove(long from, long to); // sets/clears the dirty flag @@ -101,7 +99,6 @@ public: // writing text inserts it at the current position; // appending always inserts it at the end virtual void WriteText(const wxString& text); - virtual void AppendText(const wxString& text); // translate between the position (which is just an index into the textctrl // considering all its contents as a single strings) and (x, y) coordinates @@ -177,7 +174,7 @@ protected: virtual wxSize DoGetBestSize() const; - virtual void DoSetValue(const wxString& value, int flags = 0); + virtual wxString DoGetValue() const; bool m_editable; @@ -187,17 +184,12 @@ protected: // need to make this public because of the current implementation via callbacks unsigned long m_maxLength; - bool GetTriggerOnSetValue() const + virtual void EnableTextChangedEvents(bool enable) { - return m_triggerOnSetValue; + m_triggerUpdateEvents = enable; } - void SetTriggerOnSetValue(bool trigger) - { - m_triggerOnSetValue = trigger; - } - - bool m_triggerOnSetValue ; + bool m_triggerUpdateEvents ; private : wxMenu *m_privateContextMenu;