wxListBox::GetSelections

int GetSelections(int **selections)

Gets an array containing the positions of the selected strings. The number of selections is returned. Pass a pointer to an integer array, and do not deallocate the returned array.