Howdy list,
Is there a way to identify/track an item in a TreeCtrl? This action typically takes place in an event handler where the exact "source" of the event is needed.
I tried event.GetItem(), but the returned TreeItemId instance is not the one returned by AppendItem. However their m_pItem property looks the same. Can I use that?
I read the source code in the wxPython demo. It just retrieves the text of the item using GetItemText(event.GetItem()). Though the TreeItemId instance is changed, we can still get the same information (text, color...) of the item. There must be some magic behind scene but I'm just confused.
Thanks in advance,
Harry Pan