-# 11/21/2003 - Jeff Grimmett (grimmtooth@softhome.net)
-#
-# o Updated for wx namespace
-#
import string
import wx
# 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" %
overview = """\
-A tree control presents information as a hierarchy, with items that may be
+A TreeCtrl presents information as a hierarchy, with items that may be
expanded to show further items. Items in a tree control are referenced by
-wxTreeItemId handles.
+wx.TreeItemId handles.
"""
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:])