X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03647350fc7cd141953c72e0284e928847d30f44..769c3372a2bd68c45d1a4afc8462d3b7939decb1:/src/osx/core/glgrab.cpp?ds=sidebyside 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