From: Robin Dunn Date: Thu, 25 Mar 2004 00:39:25 +0000 (+0000) Subject: GetFirstChild does't need the cookie anymore X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/58be4fb13167350d827665ee233ba1108f2f77fc?ds=inline GetFirstChild does't need the cookie anymore git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/demo/TreeCtrl.py b/wxPython/demo/TreeCtrl.py index 84fe4ab218..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" %