X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da86e1776517d2403a687de08947698f5a608219..b9efe021b554fa3967d1442cf758435c5cd5ae8f:/src/xrc/xh_chckl.cpp diff --git a/src/xrc/xh_chckl.cpp b/src/xrc/xh_chckl.cpp index c9c9c45236..d7e5226486 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,9 +19,9 @@ #pragma hdrstop #endif -#if wxUSE_XML && wxUSE_XRC +#if wxUSE_XRC -#if wxUSE_OWNER_DRAWN || !defined(__WXMSW__) +#if wxUSE_CHECKLISTBOX #include "wx/xrc/xh_chckl.h" #include "wx/checklst.h" @@ -131,6 +131,6 @@ bool wxCheckListBoxXmlHandler::CanHandle(wxXmlNode *node) (m_insideBox && node->GetName() == wxT("item"))); } -#endif // wxUSE_OWNER_DRAWN || !defined(__WXMSW__) +#endif // wxUSE_CHECKLISTBOX -#endif // wxUSE_XML && wxUSE_XRC +#endif // wxUSE_XRC