X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1e4ec87317aa33fae6dbd8c55fbc699432d0026..917be7ed065337e8a7a67615969ecaade9eea809:/src/xrc/xh_radbt.cpp diff --git a/src/xrc/xh_radbt.cpp b/src/xrc/xh_radbt.cpp index e615ef9365..0b84a58d96 100644 --- a/src/xrc/xh_radbt.cpp +++ b/src/xrc/xh_radbt.cpp @@ -19,7 +19,7 @@ #pragma hdrstop #endif -#if wxUSE_XRC && wxUSE_RADIOBOX +#if wxUSE_XRC && wxUSE_RADIOBTN #include "wx/xrc/xh_radbt.h" #include "wx/radiobut.h" @@ -30,6 +30,7 @@ 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 // wxUSE_XRC && wxUSE_NOTEBOOK +#endif // wxUSE_XRC && wxUSE_RADIOBTN