It also occurs to me that I'm not holding any reference
in my python code to the hidden root item of the trees.
Could the hidden root be getting garbage-collected, causing
the wxTR_HIDE_ROOT style to become inoperative?
Al
It also occurs to me that I'm not holding any reference
in my python code to the hidden root item of the trees.
Could the hidden root be getting garbage-collected, causing
the wxTR_HIDE_ROOT style to become inoperative?
Al
achrist@easystreet.com wrote:
It also occurs to me that I'm not holding any reference
in my python code to the hidden root item of the trees.
Could the hidden root be getting garbage-collected, causing
the wxTR_HIDE_ROOT style to become inoperative?
No. The wxTreeItemId just holds a reference to the item that can be used to fetch the item again later. THe items are owned by the TreeCtrl and it manages their lifetime.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!