X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ecc08ead918856a70559204f9b5daacc49385eaa..8912d7eb182ef5a5f95026a9ed239c9ad6c75915:/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)