]> git.saurik.com Git - wxWidgets.git/commitdiff
unhide the second wxTextAreaBase::HitTest() overload to suppress a warning about it
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 25 Dec 2008 12:45:59 +0000 (12:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 25 Dec 2008 12:45:59 +0000 (12:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/stc/stc.h
src/stc/stc.h.in

index e701ed988105e3ba762bd21ee300b4db015ffffd..700e59f999bdf11ebecd5a913402740663c42ca6 100644 (file)
@@ -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);
index d15a2c08224b81323298d837d0fcfb420286b40e..85a64a7a19166ef1d2ac39522a6544cb8e72bf98 100644 (file)
@@ -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);