wxTreeEvent

This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
Post Reply
dzd
Earned a small fee
Earned a small fee
Posts: 14
Joined: Wed Apr 20, 2005 1:38 pm
Location: Aberdeen Scotland

wxTreeEvent

Post by dzd » Wed May 04, 2005 3:15 pm

Hi there!

I've a problem with my TreeCtrl event table, I wanna intercept the event produce when an item is modified (after EndEditingLabel), I've seen in the doc that EVT_TREE_ITEM_CHANGED exist but it makes an "identifier not found" error...
Is there an other way to manage this kind of events ?
I'm using wxWindow 2.4.2.

Thanks.

dzd
Earned a small fee
Earned a small fee
Posts: 14
Joined: Wed Apr 20, 2005 1:38 pm
Location: Aberdeen Scotland

Post by dzd » Wed May 04, 2005 3:32 pm

Apparently there is a mistake in my doc:
wxTreeItemId GetOldItem() const

Returns the old item index (valid for EVT_TREE_ITEM_CHANGING and CHANGED events)
I'll try to work with EVT_TREE_ITEM_SEL_CHANGED.

Regards.

Post Reply