wxCommandEvent::IsSelection

Bool IsSelection(void)

For a listbox or choice event, returns TRUE if it is a selection, FALSE if it is a deselection.