: wxXmlResourceHandler()
{
ADD_STYLE( wxRB_GROUP );
+ AddWindowStyles();
}
wxObject *wxRadioButtonXmlHandler::DoCreateResource()
bool wxRadioButtonXmlHandler::CanHandle(wxXmlNode *node)
{
- return node->GetName() == _T("radiobutton");
+ return IsOfClass(node, _T("wxRadioButton"));
}