]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/icon.cpp
support compiling for iphone
[wxWidgets.git] / src / osx / carbon / icon.cpp
index 37c815e24d3e0d6047e63822b10194f88af0766b..fa46e150881ddfafede5f008ec0563eb7d53cc19 100644 (file)
@@ -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
+