X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6ea1280cb72eca20ee34d0c76e660d5cc0a482b7..4ed30bab75f8b7be9b27cd0ee3f462c3df0a35c5:/src/xrc/xh_chckl.cpp?ds=inline diff --git a/src/xrc/xh_chckl.cpp b/src/xrc/xh_chckl.cpp index f891730c2e..8ed6fef709 100644 --- a/src/xrc/xh_chckl.cpp +++ b/src/xrc/xh_chckl.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_chckl.h" #endif @@ -19,6 +19,8 @@ #pragma hdrstop #endif +#if wxUSE_XRC + #if wxUSE_OWNER_DRAWN || !defined(__WXMSW__) #include "wx/xrc/xh_chckl.h" @@ -129,5 +131,6 @@ bool wxCheckListBoxXmlHandler::CanHandle(wxXmlNode *node) (m_insideBox && node->GetName() == wxT("item"))); } -#endif +#endif // wxUSE_OWNER_DRAWN || !defined(__WXMSW__) +#endif // wxUSE_XRC