X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e2656801d825761f55ea9b0b766802c6cd32f1d..24aab8e81a8627802e4111d9c99a50ece8d0026e:/src/xrc/xh_tglbtn.cpp?ds=sidebyside diff --git a/src/xrc/xh_tglbtn.cpp b/src/xrc/xh_tglbtn.cpp index 1e6219ca12..205f9e0d7a 100644 --- a/src/xrc/xh_tglbtn.cpp +++ b/src/xrc/xh_tglbtn.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_tglbtn.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -19,11 +15,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 +51,4 @@ bool wxToggleButtonXmlHandler::CanHandle(wxXmlNode *node) return IsOfClass(node, wxT("wxToggleButton")); } -#endif +#endif // wxUSE_XRC && wxUSE_TOGGLEBTN