- int num_of_cols = 0;
- int num_of_rows = 0;
- if (HasFlag(wxRA_SPECIFY_COLS))
- {
- num_of_cols = m_majorDim;
- num_of_rows = num_per_major;
- }
- else
+bool wxRadioBox::Create( wxWindow *parent, wxWindowID id, const wxString& title,
+ const wxPoint &pos, const wxSize &size,
+ int n, const wxString choices[], int majorDim,
+ long style, const wxValidator& validator,
+ const wxString &name )
+{
+ if (!PreCreation( parent, pos, size ) ||
+ !CreateBase( parent, id, pos, size, style, validator, name ))