moved DoSetValue() to wxTextCtrlBase instead of having it in almost, but not quite all, derived classes; linking fixes for wxCocoa/wxX11/wxMotif

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-10-08 22:40:14 +00:00
parent 5dcf8dd06c
commit ee2ec18e88
19 changed files with 80 additions and 142 deletions

View File

@@ -46,8 +46,6 @@ public:
virtual wxString GetValue() const;
virtual bool IsEmpty() const;
virtual void SetValue(const wxString& value) { DoSetValue(value, SetValue_SendEvent); }
virtual void ChangeValue(const wxString& value) { DoSetValue(value); }
virtual wxString GetRange(long from, long to) const;
@@ -209,7 +207,7 @@ protected:
// common part of all ctors
void Init();
void DoSetValue(const wxString &value, int flags = 0);
virtual void DoSetValue(const wxString &value, int flags = 0);
// return true if this control has a user-set limit on amount of text (i.e.
// the limit is due to a previous call to SetMaxLength() and not built in)