From 4aae4a085cf105551590b2a999758e0762743352 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 23 Jul 2004 20:26:25 +0000 Subject: [PATCH] Fix for unhiding the other version of the base class HitTest git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gtk/textctrl.h | 6 ++++++ include/wx/gtk1/textctrl.h | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/include/wx/gtk/textctrl.h b/include/wx/gtk/textctrl.h index e27cb9f9a4..f0a1934940 100644 --- a/include/wx/gtk/textctrl.h +++ b/include/wx/gtk/textctrl.h @@ -90,6 +90,12 @@ public: #ifdef __WXGTK20__ virtual wxTextCtrlHitTestResult HitTest(const wxPoint& pt, long *pos) const; + virtual wxTextCtrlHitTestResult HitTest(const wxPoint& pt, + wxTextCoord *col, + wxTextCoord *row) const + { + return wxTextCtrlBase::HitTest(pt, col, row); + } #endif // __WXGTK20__ // Clipboard operations diff --git a/include/wx/gtk1/textctrl.h b/include/wx/gtk1/textctrl.h index e27cb9f9a4..f0a1934940 100644 --- a/include/wx/gtk1/textctrl.h +++ b/include/wx/gtk1/textctrl.h @@ -90,6 +90,12 @@ public: #ifdef __WXGTK20__ virtual wxTextCtrlHitTestResult HitTest(const wxPoint& pt, long *pos) const; + virtual wxTextCtrlHitTestResult HitTest(const wxPoint& pt, + wxTextCoord *col, + wxTextCoord *row) const + { + return wxTextCtrlBase::HitTest(pt, col, row); + } #endif // __WXGTK20__ // Clipboard operations -- 2.47.2