]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_radbt.cpp
Better alphabetized the event handler macros
[wxWidgets.git] / src / xrc / xh_radbt.cpp
index 01c5ece4f0dc487dacee7585c982225e405a6bd6..0b84a58d9664bb487646e3bf89fd688f0529bfa7 100644 (file)
     #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();
 }
 
@@ -63,4 +64,4 @@ bool wxRadioButtonXmlHandler::CanHandle(wxXmlNode *node)
     return IsOfClass(node, wxT("wxRadioButton"));
 }
 
-#endif
+#endif // wxUSE_XRC && wxUSE_RADIOBTN