guarding with wxMAC_USE_CORE_GRAPHICS

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2008-06-04 07:16:36 +00:00
parent 68f2291fe5
commit 45cf406a74

View File

@@ -35,6 +35,8 @@
#import <OpenGL/OpenGL.h>
#import <OpenGL/gl.h>
#if wxMAC_USE_CORE_GRAPHICS
#include "wx/mac/common/glgrab.h"
@@ -211,3 +213,5 @@ CGImageRef grabViaOpenGL(CGDirectDisplayID display, CGRect srcRect)
/* Returned image has a reference count of 1 */
return image;
}
#endif