::wxGetSingleChoice

char * wxGetSingleChoice(char *message, char *caption, int n, char *choices[], wxFrame *parent = NULL, int x = -1, int y = -1, Bool centre = TRUE)

Pops up a dialog box containing a message, OK/Cancel buttons and a single-selection listbox. The user may choose an item and press OK to return a string or Cancel to return NULL.

choices is an array of n strings for the listbox.

If centre is TRUE, the message text (which may include new line characters) is centred; if FALSE, the message is left-justified.