X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e2656801d825761f55ea9b0b766802c6cd32f1d..a826202ecf2e58f7bebb7514f3001dd703ddea03:/src/xrc/xh_tglbtn.cpp?ds=sidebyside diff --git a/src/xrc/xh_tglbtn.cpp b/src/xrc/xh_tglbtn.cpp index 1e6219ca12..91f433d8a9 100644 --- a/src/xrc/xh_tglbtn.cpp +++ b/src/xrc/xh_tglbtn.cpp @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: xh_tglbtn.cpp -// Purpose: XRC resource for wxCheckBox +// Purpose: XRC resource for wxToggleButton // Author: Bob Mitchell // Created: 2000/03/21 // RCS-ID: $Id$ @@ -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