wxTreeItemId
BlitzMax Forums/Brucey's Modules/wxTreeItemId| 
 | ||
| After connecting an event handler for the wxTreeCtrl. I use event. GetItem() inside the handler to return a wxTreeItemId. I then try to compare this with another copy I stored when I created the branch using  wxTreeCtrl.AppendItem() and they differer in value? I then found out that calling event.GetItemId() returns a differing value each time you call it? | 
| 
 | ||
| Can't you use Equals() ? e.g. 
If treeItem1.Equals(treeItem2) Then
    Print "The tree items are the same"
Else
    Print "The tree items are different"
End If
 | 
| 
 | ||
| Brucey, Thank you. |