wxTreeCtrl

I've created a class with inherits from wxTreeCtrl
Now I've got a splitter containing this TreeCtrl, and a panel with some
other widgets. One of them is a button when I click it , it should add a
new item to wxTreeCtrl.
How could I do that , I can't reach the instance of my class fro where I
need it , that holds my TreeCtrl ...

Geiregat Jonas wrote:

I've created a class with inherits from wxTreeCtrl
Now I've got a splitter containing this TreeCtrl, and a panel with some
other widgets. One of them is a button when I click it , it should add a
new item to wxTreeCtrl.
How could I do that , I can't reach the instance of my class fro where I
need it , that holds my TreeCtrl ...

Why wouldn't passing a reference to the treectrl to where you need it work?

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!