git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16396
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
screen placement, the actual data associated with it, and more. These are
the nodes passed to all the other helper parts to do their work with.
"""
- def __init__(self, data=None, parent = None, kids = [], x = 0, y = 0):
+ def __init__(self, data=None, parent = None, kids = None, x = 0, y = 0):
self.x = 0
self.y = 0
self.projx = 0
self.projy = 0
self.parent = parent
self.kids = kids
+ if self.kids is None:
+ self.kids = []
self.data = data
self.expanded = false
self.selected = false