I am using wxListBox to toggle multiple items on and off (i.e., I am using wxLB_MULTIPLE mode).
If all the items in the list are selected and I select an arbitrary item and deselect it, then how
do I get back that deselected item's position?
None of the wxListBox members returns the necessary current deselected item position.
I am using wxListBox to toggle multiple items on and off (i.e., I am
using wxLB_MULTIPLE mode).
If all the items in the list are selected and I select an arbitrary
item and deselect it, then how
do I get back that deselected item's position?
None of the wxListBox members returns the necessary current deselected
item position.
Looks like the only way is to call listbox.GetSelections() and figure out
what is missing since last time. I thought maybe the event object would
have some info that would help but it only references the first selected
item in the list.