]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/TreeListCtrl.py
DMC fix.
[wxWidgets.git] / wxPython / demo / TreeListCtrl.py
index c41ab3160d72f690b79f361cffe6f0224e6f28b5..df9c7d83ddf44db0ec1cdf38af99d38a75d083d0 100644 (file)
@@ -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())