]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/textctrl.h
added stock buttons support
[wxWidgets.git] / include / wx / msw / textctrl.h
index e0928b117468440d6ac5272c657383b00f79138c..f573da7f3ed552ab962c865114341132eab45219 100644 (file)
@@ -103,9 +103,13 @@ public:
     virtual bool PositionToXY(long pos, long *x, long *y) const;
 
     virtual void ShowPosition(long pos);
+    virtual wxTextCtrlHitTestResult HitTest(const wxPoint& pt, long *pos) const;
     virtual wxTextCtrlHitTestResult HitTest(const wxPoint& pt,
                                             wxTextCoord *col,
-                                            wxTextCoord *row) const;
+                                            wxTextCoord *row) const
+    {
+        return wxTextCtrlBase::HitTest(pt, col, row);
+    }
 
     // Clipboard operations
     virtual void Copy();