]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/TreeCtrl.py
Switch to the TreeListCtrl from the wxCode project.
[wxWidgets.git] / wxPython / demo / TreeCtrl.py
index 84fe4ab2184cf994682062c5b7e217ac94ffa623..460808c9f16b0c164af3e94689652afaff9725dc 100644 (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" %