X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/80a12bd8783e55bf7c23b17d48bdd096a8c986cb..afd5d91cae0ef66ac743ffb26c55e33af4735c0f:/src/osx/carbon/icon.cpp diff --git a/src/osx/carbon/icon.cpp b/src/osx/carbon/icon.cpp index 37c815e24d..fa46e15088 100644 --- a/src/osx/carbon/icon.cpp +++ b/src/osx/carbon/icon.cpp @@ -11,6 +11,8 @@ #include "wx/wxprec.h" +#if wxOSX_USE_COCOA_OR_CARBON + #include "wx/icon.h" #ifndef WX_PRECOMP @@ -361,3 +363,5 @@ bool wxICONResourceHandler::LoadFile( return false; } +#endif +