void wxRadioBox(void)
Constructor, for use by derived classes.
void wxRadioBox(wxPanel *parent, wxFunction func, char *label, int x = -1, int y = -1, int width = -1, int height = -1, int n, char *choices[], int style = 0, char *name = "radioBox")
Constructor, creating and showing a radiobox.
func may be NULL; otherwise it is used as the callback for the choice. Note that the cast (wxFunction) must be used when passing your callback function name, or the compiler may complain that the function does not match the constructor declaration.
If label is non-NULL, it will be used to label the radiobox.
The parameters x and y are used to specify an absolute position, or a position after the previous panel item if omitted or default.
If width or height are omitted (or are less than zero), an appropriate size will be used for the radiobox.
n is the number of possible choices, and choices is an array of strings of size n. wxWindows allocates its own memory for these strings so the calling program must deallocate the array itself.
The name parameter is used to associate a name with the item, allowing the application user to set Motif resource values for individual radioboxes.