From: Robin Dunn Date: Fri, 23 Jul 2004 20:28:01 +0000 (+0000) Subject: Wrapper for new HitTest X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1e61c543eebfac299909458cf71ad244cf33e5d5?ds=inline Wrapper for new HitTest git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/_textctrl.i b/wxPython/src/_textctrl.i index f1e89934f5..e54457e723 100644 --- a/wxPython/src/_textctrl.i +++ b/wxPython/src/_textctrl.i @@ -262,10 +262,21 @@ public: virtual wxTextCtrlHitTestResult, HitTest(const wxPoint& pt, long* OUTPUT, long* OUTPUT) const, "HitTest(Point pt) -> (result, row, col)", - "Find the character at position given in pixels. NB: pt is in device -coords but is not adjusted for the client area origin nor scrolling", ""); + "Find the row, col coresponding to the character at the point given in +pixels. NB: pt is in device coords but is not adjusted for the client +area origin nor scrolling.", ""); + DocDeclAStrName( + virtual wxTextCtrlHitTestResult , HitTest(const wxPoint& pt, long *OUTPUT) const, + "HitTestPos(Point pt) -> (result, position)", + "Find the character position in the text coresponding to the point +given in pixels. NB: pt is in device coords but is not adjusted for +the client area origin nor scrolling. ", "", + HitTestPos); + + + // Clipboard operations virtual void Copy(); virtual void Cut();