Getting selection of wx.treectrl
===

tree.GetSelection() gives the actual tree id object.

I would like to get a int of the selection just like a listbox.GetSelection() would return.

Does anyone know how to do this?