GetItem in wxTreeEvent broken

Marco De Paoli depaolim at gmail.com
Wed Jan 24 09:08:54 PST 2007


> >> I'm using the GetItem funktion of wxTreeEvent in a EVT_TREE_ITEM_MENU
> >> handler, but it is allways set to the last selected item, not the item
> >> right
> >> clicked. When using the context menu key, everything is fine.
>

I'm using GetSelection of wxTreeCtrl in EVT_MENU handler for a
wxTreeCtrl context menu
but it is always returns the last item selected by a left click, not
the right-clicked one

unfurtunatelly, this patch doesn't solve my problem

can you help me?

kind regards,
Marco De Paoli







More information about the wx-users mailing list