X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03647350fc7cd141953c72e0284e928847d30f44..bc9d3d911cfb51f612a699d7fb00f57eb5b2097c:/src/osx/core/glgrab.cpp?ds=sidebyside diff --git a/src/osx/core/glgrab.cpp b/src/osx/core/glgrab.cpp index ccb2ff76ad..83aec47665 100644 --- a/src/osx/core/glgrab.cpp +++ b/src/osx/core/glgrab.cpp @@ -30,11 +30,16 @@ OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include "wx/wxprec.h" + +#if wxOSX_USE_COCOA_OR_CARBON + #import #import #import #import +#include "wx/osx/core/private.h" #include "wx/osx/private/glgrab.h" extern CGColorSpaceRef wxMacGetGenericRGBColorSpace(); @@ -212,3 +217,4 @@ CGImageRef grabViaOpenGL(CGDirectDisplayID display, CGRect srcRect) return image; } +#endif