]> git.saurik.com Git - wxWidgets.git/commitdiff
adding proper iphone includes
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 29 Mar 2009 20:45:45 +0000 (20:45 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 29 Mar 2009 20:45:45 +0000 (20:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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