From 3f3bf980f6a774a3cc3e975c509f3dc83d528ba9 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 9 Oct 2006 02:37:33 +0000 Subject: [PATCH] IsEmpty, ChangeValue, etc. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_textctrl.i | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wxPython/src/_textctrl.i b/wxPython/src/_textctrl.i index 20b89a9a23..630ba209ba 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; @@ -340,6 +344,9 @@ the client area origin nor scrolling. ", "", virtual void SelectAll(); virtual void SetEditable(bool editable); + // generate the wxEVT_COMMAND_TEXT_UPDATED event, like SetValue() does + void SendTextUpdatedEvent(); + #ifdef __WXMSW__ // Caret handling (Windows only) bool ShowNativeCaret(bool show = true); -- 2.45.2