From 58b6a13764b3f3d118a83a5b8bb7ffc6b40a09cc Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Sat, 14 Feb 2009 08:48:46 +0000 Subject: [PATCH] Fixed wxPropertyGrid::HitTest() documentation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/propgrid/propgrid.h | 7 ++++--- interface/wx/propgrid/propgrid.h | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/include/wx/propgrid/propgrid.h b/include/wx/propgrid/propgrid.h index cbda18e389..2091984aeb 100644 --- a/include/wx/propgrid/propgrid.h +++ b/include/wx/propgrid/propgrid.h @@ -889,9 +889,10 @@ public: Returns information about arbitrary position in the grid. @param pt - Logical coordinates in the virtual grid space. Use - wxScrolledWindow::CalcUnscrolledPosition() if you need to - translate a scrolled position into a logical one. + Coordinates in the virtual grid space. You may need to use + wxScrolledWindow::CalcScrolledPosition() for translating + wxPropertyGrid client coordinates into something this member + function can use. */ wxPropertyGridHitTestResult HitTest( const wxPoint& pt ) const; diff --git a/interface/wx/propgrid/propgrid.h b/interface/wx/propgrid/propgrid.h index a2bd673462..6d5f72c8c9 100644 --- a/interface/wx/propgrid/propgrid.h +++ b/interface/wx/propgrid/propgrid.h @@ -674,9 +674,10 @@ public: Returns information about arbitrary position in the grid. @param pt - Logical coordinates in the virtual grid space. Use - wxScrolledWindow::CalcUnscrolledPosition() if you need to - translate a scrolled position into a logical one. + Coordinates in the virtual grid space. You may need to use + wxScrolledWindow::CalcScrolledPosition() for translating + wxPropertyGrid client coordinates into something this member + function can use. */ wxPropertyGridHitTestResult HitTest( const wxPoint& pt ) const;