int wxGetSingleChoiceIndex(char *message, char *caption, int n, char *choices[], wxFrame *parent = NULL, int x = -1, int y = -1, Bool centre = TRUE)
As wxGetSingleChoice but returns the index representing the selected string.