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:
@@ -69,7 +69,8 @@ public:
|
|||||||
@param majorDimension
|
@param majorDimension
|
||||||
Specifies the maximum number of rows (if style contains
|
Specifies the maximum number of rows (if style contains
|
||||||
@c wxRA_SPECIFY_ROWS) or columns (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
|
@param style
|
||||||
Window style. See wxRadioBox.
|
Window style. See wxRadioBox.
|
||||||
@param validator
|
@param validator
|
||||||
@@ -89,7 +90,7 @@ public:
|
|||||||
const wxSize& size = wxDefaultSize,
|
const wxSize& size = wxDefaultSize,
|
||||||
int n = 0,
|
int n = 0,
|
||||||
const wxString choices[] = NULL,
|
const wxString choices[] = NULL,
|
||||||
int majorDimension = 1,
|
int majorDimension = 0,
|
||||||
long style = wxRA_SPECIFY_COLS,
|
long style = wxRA_SPECIFY_COLS,
|
||||||
const wxValidator& validator = wxDefaultValidator,
|
const wxValidator& validator = wxDefaultValidator,
|
||||||
const wxString& name = wxRadioBoxNameStr);
|
const wxString& name = wxRadioBoxNameStr);
|
||||||
@@ -114,7 +115,9 @@ public:
|
|||||||
@param majorDimension
|
@param majorDimension
|
||||||
Specifies the maximum number of rows (if style contains
|
Specifies the maximum number of rows (if style contains
|
||||||
@c wxRA_SPECIFY_ROWS) or columns (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
|
@param style
|
||||||
Window style. See wxRadioBox.
|
Window style. See wxRadioBox.
|
||||||
@param validator
|
@param validator
|
||||||
@@ -133,7 +136,7 @@ public:
|
|||||||
const wxPoint& pos,
|
const wxPoint& pos,
|
||||||
const wxSize& size,
|
const wxSize& size,
|
||||||
const wxArrayString& choices,
|
const wxArrayString& choices,
|
||||||
int majorDimension = 1,
|
int majorDimension = 0,
|
||||||
long style = wxRA_SPECIFY_COLS,
|
long style = wxRA_SPECIFY_COLS,
|
||||||
const wxValidator& validator = wxDefaultValidator,
|
const wxValidator& validator = wxDefaultValidator,
|
||||||
const wxString& name = wxRadioBoxNameStr);
|
const wxString& name = wxRadioBoxNameStr);
|
||||||
|
Reference in New Issue
Block a user