X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b11752c4f9e1fd4b11ba3d184246267facb3ad3..b85b06e13d22e7fc1604ec1a49caa1227a1b3d36:/src/stc/stc.h.in diff --git a/src/stc/stc.h.in b/src/stc/stc.h.in index 716d9985c1..6398adbc8f 100644 --- a/src/stc/stc.h.in +++ b/src/stc/stc.h.in @@ -285,7 +285,6 @@ public: // ---------------------------------------------- virtual void WriteText(const wxString& text) { AddText(text); } - virtual wxString GetValue() const { return GetText(); } virtual void Remove(long from, long to) { Replace(from, to, ""); @@ -438,8 +437,11 @@ public: return wxTextAreaBase::HitTest(pt, col, row); } -#ifndef SWIG protected: + virtual wxString DoGetValue() const { return GetText(); } + virtual wxWindow *GetEditableWindow() { return this; } + +#ifndef SWIG virtual bool DoLoadFile(const wxString& file, int fileType); virtual bool DoSaveFile(const wxString& file, int fileType);