X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da86e1776517d2403a687de08947698f5a608219..926ce9e3ac32e1a33cc43420f76876fac8868436:/src/xrc/xh_radbt.cpp diff --git a/src/xrc/xh_radbt.cpp b/src/xrc/xh_radbt.cpp index 1fa49b84ec..aff575219e 100644 --- a/src/xrc/xh_radbt.cpp +++ b/src/xrc/xh_radbt.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_radbt.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -19,7 +15,7 @@ #pragma hdrstop #endif -#if wxUSE_XML && wxUSE_XRC && wxUSE_RADIOBOX +#if wxUSE_XRC && wxUSE_RADIOBTN #include "wx/xrc/xh_radbt.h" #include "wx/radiobut.h" @@ -30,6 +26,7 @@ wxRadioButtonXmlHandler::wxRadioButtonXmlHandler() : wxXmlResourceHandler() { XRC_ADD_STYLE(wxRB_GROUP); + XRC_ADD_STYLE(wxRB_SINGLE); AddWindowStyles(); } @@ -63,4 +60,4 @@ bool wxRadioButtonXmlHandler::CanHandle(wxXmlNode *node) return IsOfClass(node, wxT("wxRadioButton")); } -#endif // wxUSE_XML && wxUSE_XRC && wxUSE_NOTEBOOK +#endif // wxUSE_XRC && wxUSE_RADIOBTN