X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ecc08ead918856a70559204f9b5daacc49385eaa..40f7145ca55ccf1b197e70acf79bbd4aa5d85145:/wxPython/demo/wxTreeCtrl.py 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)