diff --git a/include/wx/stc/stc.h b/include/wx/stc/stc.h index e701ed9881..700e59f999 100644 --- a/include/wx/stc/stc.h +++ b/include/wx/stc/stc.h @@ -3794,6 +3794,14 @@ public: return wxTE_HT_ON_TEXT; } + // just unhide it + virtual wxTextCtrlHitTestResult HitTest(const wxPoint& pt, + wxTextCoord *col, + wxTextCoord *row) const + { + return wxTextAreaBase::HitTest(pt, col, row); + } + #ifndef SWIG protected: virtual bool DoLoadFile(const wxString& file, int fileType); diff --git a/src/stc/stc.h.in b/src/stc/stc.h.in index d15a2c0822..85a64a7a19 100644 --- a/src/stc/stc.h.in +++ b/src/stc/stc.h.in @@ -430,6 +430,14 @@ public: return wxTE_HT_ON_TEXT; } + // just unhide it + virtual wxTextCtrlHitTestResult HitTest(const wxPoint& pt, + wxTextCoord *col, + wxTextCoord *row) const + { + return wxTextAreaBase::HitTest(pt, col, row); + } + #ifndef SWIG protected: virtual bool DoLoadFile(const wxString& file, int fileType);