X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f5263701c22ed4dfff59a47b0d8a3f8ab1396688..9e477492e29e03c02827b1e42a16cb09a13f5149:/wxPython/src/_textctrl.i?ds=sidebyside diff --git a/wxPython/src/_textctrl.i b/wxPython/src/_textctrl.i index 20b89a9a23..f6755ef430 100644 --- a/wxPython/src/_textctrl.i +++ b/wxPython/src/_textctrl.i @@ -227,6 +227,10 @@ public: virtual wxString GetValue() const; virtual void SetValue(const wxString& value); + virtual bool IsEmpty() const; + + virtual void ChangeValue(const wxString &value); + virtual wxString GetRange(long from, long to) const; virtual int GetLineLength(long lineNo) const; @@ -339,6 +343,17 @@ the client area origin nor scrolling. ", "", virtual void SetSelection(long from, long to); virtual void SelectAll(); virtual void SetEditable(bool editable); + +#ifdef __WXMAC__ + virtual void MacCheckSpelling(bool check); +#else + %extend { + void MacCheckSpelling(bool check) {} + } +#endif + + // generate the wxEVT_COMMAND_TEXT_UPDATED event, like SetValue() does + void SendTextUpdatedEvent(); #ifdef __WXMSW__ // Caret handling (Windows only)