From 0aa619b53203461ec07541f0ba5ebe4aaf4f7184 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 25 Dec 2008 12:45:59 +0000 Subject: [PATCH] unhide the second wxTextAreaBase::HitTest() overload to suppress a warning about it git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/stc/stc.h | 8 ++++++++ src/stc/stc.h.in | 8 ++++++++ 2 files changed, 16 insertions(+) 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); -- 2.45.2