IsEmpty, ChangeValue, etc.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-10-09 02:37:33 +00:00
parent 6c2dd16f55
commit 3f3bf980f6

View File

@ -227,6 +227,10 @@ public:
virtual wxString GetValue() const; virtual wxString GetValue() const;
virtual void SetValue(const wxString& value); 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 wxString GetRange(long from, long to) const;
virtual int GetLineLength(long lineNo) const; virtual int GetLineLength(long lineNo) const;
@ -340,6 +344,9 @@ the client area origin nor scrolling. ", "",
virtual void SelectAll(); virtual void SelectAll();
virtual void SetEditable(bool editable); virtual void SetEditable(bool editable);
// generate the wxEVT_COMMAND_TEXT_UPDATED event, like SetValue() does
void SendTextUpdatedEvent();
#ifdef __WXMSW__ #ifdef __WXMSW__
// Caret handling (Windows only) // Caret handling (Windows only)
bool ShowNativeCaret(bool show = true); bool ShowNativeCaret(bool show = true);