[EMAIL PROTECTED] wrote, in part: >How can a wxTree function call the wxTextCtrl object?
1. This is probably not a direct answer to your question, Janos. However, if you want to edit the texts in the tree control then take a look at the demo code for wxTreeCtrl in the wxPython demo. 2. I read your diagram to mean that both the tree and the edit are children of the frame. Therefore, if the edit needs to access something in the tree then when you create the edit keep a reference to its parent as self.parent, say, and when you create the tree keep a reference to it in its parent as self.tree. Now when you need to reference the tree from within the edit you can use self.parent.tree. HTH, Bill ------------ "It is the time that you have wasted for your rose that makes your rose so important."--St-Exupery _______________________________________________ ActivePython mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython