From 00a5e5a90555ab800419265a487d325ee80bfaaa Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 11 Aug 2004 22:24:47 +0000 Subject: [PATCH] Changed debug print into a log message git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/TreeListCtrl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wxPython/demo/TreeListCtrl.py b/wxPython/demo/TreeListCtrl.py index c41ab3160d..df9c7d83dd 100644 --- a/wxPython/demo/TreeListCtrl.py +++ b/wxPython/demo/TreeListCtrl.py @@ -85,7 +85,8 @@ class TestPanel(wx.Panel): pos = evt.GetPosition() item, flags, col = self.tree.HitTest(pos) if item: - print flags, col, self.tree.GetItemText(item, col) + self.log.write('Flags: %s, Col:%s, Text: %s' % + (flags, col, self.tree.GetItemText(item, col))) def OnSize(self, evt): self.tree.SetSize(self.GetSize())