- wxRadioBox *control = new wxRadioBox(m_parentAsWindow,
- GetID(),
- GetText(wxT("label")),
- GetPosition(), GetSize(),
- strList.GetCount(),
- strings,
- GetLong( wxT("dimension"), 1 ),
- GetStyle(),
- wxDefaultValidator,
- GetName()
- );
+ control->Create(m_parentAsWindow,
+ GetID(),
+ GetText(wxT("label")),
+ GetPosition(), GetSize(),
+ strList.GetCount(),
+ strings,
+ GetLong(wxT("dimension"), 1),
+ GetStyle(),
+ wxDefaultValidator,
+ GetName());