# 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" %
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:])