https://trac.macports.org/ticket/52069 http://trac.wxwidgets.org/changeset/f6a2d1caef5c6d412c84aa900cb0d3990b350938/git-wxWidgets --- src/osx/carbon/dataobj.cpp +++ src/osx/carbon/dataobj.cpp @@ -29,9 +29,9 @@ #include "wx/osx/private.h" -#if wxOSX_USE_COCOA_OR_CARBON - #include -#endif + + + // ---------------------------------------------------------------------------- // wxDataFormat --- src/osx/core/bitmap.cpp +++ src/osx/core/bitmap.cpp @@ -35,9 +35,9 @@ IMPLEMENT_DYNAMIC_CLASS(wxMask, wxObject) #include "wx/osx/private.h" #endif -#ifndef __WXOSX_IPHONE__ -#include -#endif + + + CGColorSpaceRef wxMacGetGenericRGBColorSpace(); CGDataProviderRef wxMacCGDataProviderCreateWithMemoryBuffer( const wxMemoryBuffer& buf );