GetFirstChild does't need the cookie anymore

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-03-25 00:39:25 +00:00
parent da32eb53cb
commit 58be4fb131

View File

@ -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" %