@param majorDimension
Specifies the maximum number of rows (if style contains
@c wxRA_SPECIFY_ROWS) or columns (if style contains
- @c wxRA_SPECIFY_COLS) for a two-dimensional radiobox.
+ @c wxRA_SPECIFY_COLS) for a two-dimensional radiobox. The default
+ value of 0 means to use the number of items, i.e. @a n.
@param style
Window style. See wxRadioBox.
@param validator
const wxSize& size = wxDefaultSize,
int n = 0,
const wxString choices[] = NULL,
- int majorDimension = 1,
+ int majorDimension = 0,
long style = wxRA_SPECIFY_COLS,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxRadioBoxNameStr);
@param majorDimension
Specifies the maximum number of rows (if style contains
@c wxRA_SPECIFY_ROWS) or columns (if style contains
- @c wxRA_SPECIFY_COLS) for a two-dimensional radiobox.
+ @c wxRA_SPECIFY_COLS) for a two-dimensional radiobox. The default
+ value of 0 means to use the number of items, i.e. number of
+ elements in @a choices.
@param style
Window style. See wxRadioBox.
@param validator
const wxPoint& pos,
const wxSize& size,
const wxArrayString& choices,
- int majorDimension = 1,
+ int majorDimension = 0,
long style = wxRA_SPECIFY_COLS,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxRadioBoxNameStr);