#pragma hdrstop
#endif
+#if wxUSE_XRC && wxUSE_RADIOBTN
+
#include "wx/xrc/xh_radbt.h"
#include "wx/radiobut.h"
-#if wxUSE_RADIOBOX
-
IMPLEMENT_DYNAMIC_CLASS(wxRadioButtonXmlHandler, wxXmlResourceHandler)
wxRadioButtonXmlHandler::wxRadioButtonXmlHandler()
: wxXmlResourceHandler()
{
XRC_ADD_STYLE(wxRB_GROUP);
+ XRC_ADD_STYLE(wxRB_SINGLE);
AddWindowStyles();
}
return IsOfClass(node, wxT("wxRadioButton"));
}
-#endif
+#endif // wxUSE_XRC && wxUSE_RADIOBTN