]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/glcanvas.h
adding proper iphone includes
[wxWidgets.git] / include / wx / osx / glcanvas.h
index 9f2d2ca9ff21bf3238102bc351a28643381b45c4..1fc775c88e43677140da25e3cc2865360ca2e23e 100644 (file)
 #ifndef _WX_GLCANVAS_H_
 #define _WX_GLCANVAS_H_
 
+#ifdef __WXOSX_IPHONE__
+#import <OpenGLES/ES1/gl.h>
+#import <OpenGLES/ES1/glext.h>
+#else
 #include <OpenGL/gl.h>
+#endif
 
 // low level calls