X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c575e45a24711793f98959a1f394a9e528c3129a..04fa04d8067d235ab45b5bc05b65f0679634b541:/src/xrc/xh_chckb.cpp diff --git a/src/xrc/xh_chckb.cpp b/src/xrc/xh_chckb.cpp index ffb27630eb..4f84fccd36 100644 --- a/src/xrc/xh_chckb.cpp +++ b/src/xrc/xh_chckb.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xh_chckb.cpp +// Name: src/xrc/xh_chckb.cpp // Purpose: XRC resource for wxCheckBox // Author: Bob Mitchell // Created: 2000/03/21 @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "xh_chckb.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -22,7 +18,10 @@ #if wxUSE_XRC && wxUSE_CHECKBOX #include "wx/xrc/xh_chckb.h" -#include "wx/checkbox.h" + +#ifndef WX_PRECOMP + #include "wx/checkbox.h" +#endif IMPLEMENT_DYNAMIC_CLASS(wxCheckBoxXmlHandler, wxXmlResourceHandler)