Hi list,
I need to use a tree control having multiple roots and multiple selection. I solved the “multiple roots” issue by making a dummy root node and hiding it by using the wxTR_HIDE_ROOT flag. My tree has only two levels of depth (I didn’t count here the hidden root, of course).
The problem of multiple selection is still actual, unfortunately. If one item is selected, when the user presses Ctrl or Shift while selecting another item, this will not add the newly selected item to the collection of selected items, but will deselect the first item and select the new one, as if the tree would have single selection.
The multiple selection seems to work for Shift+arrows.
The wxTR_EXTENDED flag didn’t help either.
I’m using wxWidgets 2.4.2.4.under Windows Vista. Did this problem vanish in newer wxWidgets versions? Can anyone tell me?
Thanks,
Cristina.