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:
@@ -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);
|
||||||
|
|
||||||
|
@@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user