Code: Select all
Connect( wxID_ANY, wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler(PropertiesPanel::OnSelectionChanged), 0, Properties );
this works pretty fine so far, the only problem occurs if the user selects an item in one tree and then selects an item in another one. because in this case, no wxEVT_COMMAND_TREE_SEL_CHANGED event is fired. it is only fired if the selection changes in the SAME tree. so what i need now is an event that gets fired whenever selections change, not only selections from item #1 to item #2 in the same tree, but also from item #1 in tree #1 to item#1 in tree #2.
i hope this was not too confusing any ideas how i could manage this? thanks in advance! this is really urgent to me