projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efd1393
)
Show class type returned from HitTest
author
Robin Dunn
<robin@alldunn.com>
Wed, 7 Nov 2001 16:12:44 +0000
(16:12 +0000)
committer
Robin Dunn
<robin@alldunn.com>
Wed, 7 Nov 2001 16:12:44 +0000
(16:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12349
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
wxPython/demo/wxTreeCtrl.py
patch
|
blob
|
blame
|
history
diff --git
a/wxPython/demo/wxTreeCtrl.py
b/wxPython/demo/wxTreeCtrl.py
index 03a346d05fa48359c314cc100803bc01fb93a185..5d48ef5050a74f561724cc3dd26260e23587dcd9 100644
(file)
--- 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)