X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e2656801d825761f55ea9b0b766802c6cd32f1d..f773e9b0bbfd051a4ae316461fd241230c87e39f:/src/xrc/xh_tglbtn.cpp diff --git a/src/xrc/xh_tglbtn.cpp b/src/xrc/xh_tglbtn.cpp index 1e6219ca12..1974ab14d1 100644 --- a/src/xrc/xh_tglbtn.cpp +++ b/src/xrc/xh_tglbtn.cpp @@ -19,11 +19,11 @@ #pragma hdrstop #endif +#if wxUSE_XRC && wxUSE_TOGGLEBTN + #include "wx/xrc/xh_tglbtn.h" #include "wx/tglbtn.h" -#if wxUSE_TOGGLEBTN - IMPLEMENT_DYNAMIC_CLASS(wxToggleButtonXmlHandler, wxXmlResourceHandler) wxToggleButtonXmlHandler::wxToggleButtonXmlHandler() @@ -55,4 +55,4 @@ bool wxToggleButtonXmlHandler::CanHandle(wxXmlNode *node) return IsOfClass(node, wxT("wxToggleButton")); } -#endif +#endif // wxUSE_XRC && wxUSE_TOGGLEBTN