projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
text attributes corrected
[wxWidgets.git]
/
wxPython
/
demo
/
TreeCtrl.py
diff --git
a/wxPython/demo/TreeCtrl.py
b/wxPython/demo/TreeCtrl.py
index 547d05c87cd7601fa5b79476dce79a52c669a78e..460808c9f16b0c164af3e94689652afaff9725dc 100644
(file)
--- a/
wxPython/demo/TreeCtrl.py
+++ b/
wxPython/demo/TreeCtrl.py
@@
-1,7
+1,3
@@
-# 11/21/2003 - Jeff Grimmett (grimmtooth@softhome.net)
-#
-# o Updated for wx namespace
-#
import string
import wx
import string
import wx
@@
-120,7
+116,7
@@
class TestTreeCtrlPanel(wx.Panel):
# Lets just see what's visible of its children
cookie = 0
root = event.GetItem()
# Lets just see what's visible of its children
cookie = 0
root = event.GetItem()
- (child, cookie) = self.tree.GetFirstChild(root
, cookie
)
+ (child, cookie) = self.tree.GetFirstChild(root)
while child.IsOk():
self.log.WriteText("Child [%s] visible = %d" %
while child.IsOk():
self.log.WriteText("Child [%s] visible = %d" %
@@
-191,9
+187,9
@@
def runTest(frame, nb, log):
overview = """\
overview = """\
-A
tree contro
l presents information as a hierarchy, with items that may be
+A
TreeCtr
l presents information as a hierarchy, with items that may be
expanded to show further items. Items in a tree control are referenced by
expanded to show further items. Items in a tree control are referenced by
-wxTreeItemId handles.
+wx
.
TreeItemId handles.
"""
"""
@@
-202,5
+198,5
@@
wxTreeItemId handles.
if __name__ == '__main__':
import sys,os
import run
if __name__ == '__main__':
import sys,os
import run
- run.main(['', os.path.basename(sys.argv[0])])
+ run.main(['', os.path.basename(sys.argv[0])]
+ sys.argv[1:]
)