- PreCreation( parent, id, pos, newSize, style, name );
-
- m_isRadioButton = TRUE;
-
-#if wxUSE_VALIDATORS
- SetValidator( validator );
-#endif
-
-
- if (HasFlag(wxRB_GROUP))
+bool wxRadioButton::Create( wxWindow *parent,
+ wxWindowID id,
+ const wxString& label,
+ const wxPoint& pos,
+ const wxSize& size,
+ long style,
+ const wxValidator& validator,
+ const wxString& name )
+{
+ if (!PreCreation( parent, pos, size ) ||
+ !CreateBase( parent, id, pos, size, style, validator, name ))