Correct documentation of majorDimension in wxRadioBox ctor.
The default value of this parameter is 0, not 1. Also add the explanation of what using 0 actually means. Closes #12325. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
dbf9c0cdc1
commit
18ff59a401
@ -69,7 +69,8 @@ public:
|
||||
@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
|
||||
@ -89,7 +90,7 @@ public:
|
||||
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);
|
||||
@ -114,7 +115,9 @@ public:
|
||||
@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
|
||||
@ -133,7 +136,7 @@ public:
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user