build fix: define DoGetValue() and GetEditableWindow()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-03-02 16:23:55 +00:00
parent 586a789446
commit d0a22afc38
2 changed files with 8 additions and 4 deletions

View File

@@ -3649,7 +3649,6 @@ public:
// ---------------------------------------------- // ----------------------------------------------
virtual void WriteText(const wxString& text) { AddText(text); } virtual void WriteText(const wxString& text) { AddText(text); }
virtual wxString GetValue() const { return GetText(); }
virtual void Remove(long from, long to) virtual void Remove(long from, long to)
{ {
Replace(from, to, ""); Replace(from, to, "");
@@ -3802,8 +3801,11 @@ public:
return wxTextAreaBase::HitTest(pt, col, row); return wxTextAreaBase::HitTest(pt, col, row);
} }
#ifndef SWIG
protected: protected:
virtual wxString DoGetValue() const { return GetText(); }
virtual wxWindow *GetEditableWindow() { return this; }
#ifndef SWIG
virtual bool DoLoadFile(const wxString& file, int fileType); virtual bool DoLoadFile(const wxString& file, int fileType);
virtual bool DoSaveFile(const wxString& file, int fileType); virtual bool DoSaveFile(const wxString& file, int fileType);

View File

@@ -285,7 +285,6 @@ public:
// ---------------------------------------------- // ----------------------------------------------
virtual void WriteText(const wxString& text) { AddText(text); } virtual void WriteText(const wxString& text) { AddText(text); }
virtual wxString GetValue() const { return GetText(); }
virtual void Remove(long from, long to) virtual void Remove(long from, long to)
{ {
Replace(from, to, ""); Replace(from, to, "");
@@ -438,8 +437,11 @@ public:
return wxTextAreaBase::HitTest(pt, col, row); return wxTextAreaBase::HitTest(pt, col, row);
} }
#ifndef SWIG
protected: protected:
virtual wxString DoGetValue() const { return GetText(); }
virtual wxWindow *GetEditableWindow() { return this; }
#ifndef SWIG
virtual bool DoLoadFile(const wxString& file, int fileType); virtual bool DoLoadFile(const wxString& file, int fileType);
virtual bool DoSaveFile(const wxString& file, int fileType); virtual bool DoSaveFile(const wxString& file, int fileType);