const wxSize& size = wxDefaultSize,
int n = 0,
const wxString choices[] = NULL,
- int majorDimension = 0,
+ int majorDimension = 1,
long style = wxRA_SPECIFY_COLS,
const wxValidator& validator = wxDefaultValidator,
- const wxString& name = "radioBox");
+ const wxString& name = wxRadioBoxNameStr);
/**
Constructor, creating and showing a radiobox.
const wxPoint& pos,
const wxSize& size,
const wxArrayString& choices,
- int majorDimension = 0,
+ int majorDimension = 1,
long style = wxRA_SPECIFY_COLS,
const wxValidator& validator = wxDefaultValidator,
- const wxString& name = "radioBox");
+ const wxString& name = wxRadioBoxNameStr);
/**
Destructor, destroying the radiobox item.
int majorDimension = 0,
long style = wxRA_SPECIFY_COLS,
const wxValidator& validator = wxDefaultValidator,
- const wxString& name = "radioBox");
+ const wxString& name = wxRadioBoxNameStr);
/**
Creates the radiobox for two-step construction. See wxRadioBox()
int majorDimension = 0,
long style = wxRA_SPECIFY_COLS,
const wxValidator& validator = wxDefaultValidator,
- const wxString& name = "radioBox");
+ const wxString& name = wxRadioBoxNameStr);
/**
Enables or disables an individual button in the radiobox.
*/
virtual bool Enable(unsigned int n, bool enable = true);
-
/**
- Finds a button matching the given string, returning the position if found, or
- -1 if not found.
+ Finds a button matching the given string, returning the position if found,
+ or @c wxNOT_FOUND if not found.
@param string
The string to find.
+ @param bCase
+ Should the search be case-sensitive?
*/
- virtual int FindString(const wxString& s, bool bCase = false) const;
+ virtual int FindString(const wxString& string, bool bCase = false) const;
/**
Returns the number of columns in the radiobox.
@endWxPythonOnly
*/
- virtual bool Show(unsigned int item, const bool show = true);
+ virtual bool Show(unsigned int item, bool show = true);
};