Changed debug print into a log message

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-08-11 22:24:47 +00:00
parent da9b415349
commit 00a5e5a905

View 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())