X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f1e01716310cb6e3bfcf5894b442d277bc32789a..e3507dd8517e922f499cddc30693dcb284815c0a:/src/xrc/xh_bttn.cpp diff --git a/src/xrc/xh_bttn.cpp b/src/xrc/xh_bttn.cpp index 397c6dbe47..d103e1ada3 100644 --- a/src/xrc/xh_bttn.cpp +++ b/src/xrc/xh_bttn.cpp @@ -15,7 +15,7 @@ #pragma hdrstop #endif -#if wxUSE_XRC +#if wxUSE_XRC && wxUSE_BUTTON #include "wx/xrc/xh_bttn.h" @@ -60,4 +60,4 @@ bool wxButtonXmlHandler::CanHandle(wxXmlNode *node) return IsOfClass(node, wxT("wxButton")); } -#endif // wxUSE_XRC +#endif // wxUSE_XRC && wxUSE_BUTTON