From 8fdd04f882cd54893dcf0aff4940faac64e2efb9 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 29 Jun 2004 01:58:35 +0000 Subject: [PATCH] Fixed HitTest for columns > 1 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp b/wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp index f8e27a4d3b..1fc7349210 100644 --- a/wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp +++ b/wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp @@ -1744,6 +1744,7 @@ wxTreeListItem *wxTreeListItem::HitTest(const wxPoint& point, column = i; return res; } + x += w; } }