From bd658b8c330edc73882df565b4632c1677c465f5 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 7 Nov 2001 16:12:44 +0000 Subject: [PATCH] Show class type returned from HitTest git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/wxTreeCtrl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wxPython/demo/wxTreeCtrl.py b/wxPython/demo/wxTreeCtrl.py index 03a346d05f..5d48ef5050 100644 --- a/wxPython/demo/wxTreeCtrl.py +++ b/wxPython/demo/wxTreeCtrl.py @@ -83,8 +83,8 @@ class TestTreeCtrlPanel(wxPanel): def OnRightClick(self, event): pt = event.GetPosition(); item, flags = self.tree.HitTest(pt) - self.log.WriteText("OnRightClick: %s, %s\n" % (self.tree.GetItemText(item), - type(item))) + self.log.WriteText("OnRightClick: %s, %s, %s\n" % + (self.tree.GetItemText(item), type(item), item.__class__)) self.tree.SelectItem(item) -- 2.45.2