X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03647350fc7cd141953c72e0284e928847d30f44..b236f090ed76944de442c06ff7d13e7cf87d9a16:/src/osx/core/glgrab.cpp diff --git a/src/osx/core/glgrab.cpp b/src/osx/core/glgrab.cpp index ccb2ff76ad..74644b45c7 100644 --- a/src/osx/core/glgrab.cpp +++ b/src/osx/core/glgrab.cpp @@ -30,6 +30,10 @@ 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 @@ -212,3 +216,4 @@ CGImageRef grabViaOpenGL(CGDirectDisplayID display, CGRect srcRect) return image; } +#endif