Am 2008-10-01 um 00:45 schrieb Mike Mabey: > > return _controls_.TreeCtrl_DeleteAllItems(*args, **kwargs) > TypeError: in method 'TreeCtrl_DeleteAllItems', expected argument 1 > of type > 'wxPyTreeCtrl *' > > > I don't know if I'm just not using treeFromStructure correctly, or if > there's something else I'm missing. I'm calling this method in the > tree's > initProperties() method. I've tried several different combinations > of the > parameters, including: > > self.treeFromStructure(["Root Title"]) > self.treeFromStructure(["Root Title", [None]]) > self.treeFromStructure(["Root Title", ["First Child"]]) > self.treeFromStructure(["Root Title", [["First Child"]]]) > > You get the idea. What am I doing wrong?
Is "self" a dTreeView? Or what else? The data sctructure for tree views *is* tricky... Greetlings from Lake Constance! Hraban --- http://www.fiee.net https://www.cacert.org (I'm an assurer) _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
