X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a565f84b6fb980bb1e91a7524c269cd3a1ab5c7b..9c112555198f51fcec71106530cddba95a17f3dc:/src/xrc/xh_radbt.cpp diff --git a/src/xrc/xh_radbt.cpp b/src/xrc/xh_radbt.cpp index 1e4f476bae..a4a07a74ed 100644 --- a/src/xrc/xh_radbt.cpp +++ b/src/xrc/xh_radbt.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_radbt.h" #endif @@ -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" @@ -64,4 +64,4 @@ bool wxRadioButtonXmlHandler::CanHandle(wxXmlNode *node) return IsOfClass(node, wxT("wxRadioButton")); } -#endif // wxUSE_XRC && wxUSE_NOTEBOOK +#endif // wxUSE_XRC && wxUSE_RADIOBTN