X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1e4ec87317aa33fae6dbd8c55fbc699432d0026..550f38d74380256da7bfcb961d40ff86f677f77e:/src/xrc/xh_chckl.cpp?ds=sidebyside diff --git a/src/xrc/xh_chckl.cpp b/src/xrc/xh_chckl.cpp index 536c011ae6..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 @@ -21,7 +21,7 @@ #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_XRC