X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b11752c4f9e1fd4b11ba3d184246267facb3ad3..e777bd14b3b3ce4a601fcc0df63d64e3dc75ae8e:/include/wx/stc/stc.h diff --git a/include/wx/stc/stc.h b/include/wx/stc/stc.h index 4e53f48eed..2d1386c142 100644 --- a/include/wx/stc/stc.h +++ b/include/wx/stc/stc.h @@ -3649,7 +3649,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, ""); @@ -3802,8 +3801,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);