dabodemo Commit
Revision 324
Date: 2005-10-20 08:57:02 -0700 (Thu, 20 Oct 2005)
Author: adi
Changed:
U trunk/wxPython-demos/lib/TreeNode.py
Log:
allow adding childNodes without files.
Diff:
Modified: trunk/wxPython-demos/lib/TreeNode.py
===================================================================
--- trunk/wxPython-demos/lib/TreeNode.py 2005-10-17 16:55:42 UTC (rev
323)
+++ trunk/wxPython-demos/lib/TreeNode.py 2005-10-20 15:57:02 UTC (rev
324)
@@ -5,7 +5,7 @@
self._parent = parent
self._children = []
- def addChild(self, label, file):
+ def addChild(self, label, file=None):
node = TreeNode(label,file,self)
self._children.append(node)
return node
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev