X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95bfd958bda8955ac81277c78e5627c926154f39..66394199cf03f0e9a3a675fe9829d31463ad38bb:/wxPython/demo/TreeCtrl.py diff --git a/wxPython/demo/TreeCtrl.py b/wxPython/demo/TreeCtrl.py index 78cb5231e6..460808c9f1 100644 --- a/wxPython/demo/TreeCtrl.py +++ b/wxPython/demo/TreeCtrl.py @@ -116,7 +116,7 @@ class TestTreeCtrlPanel(wx.Panel): # 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" % @@ -198,5 +198,5 @@ 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:])