]> git.saurik.com Git - wxWidgets.git/commitdiff
wxCocoa needs OpenGL/*.h instead of GL/*.h (for OpenGL.framework includes)
authorDavid Elliott <dfe@tgwbd.org>
Fri, 1 Oct 2004 14:26:19 +0000 (14:26 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Fri, 1 Oct 2004 14:26:19 +0000 (14:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/opengl/isosurf/isosurf.cpp

index 1489b7f9586e12204ed7863a60924785931fd67b..ad9a6273c5089a166e913bfa3a09aec75ab59bf4 100644 (file)
@@ -28,7 +28,7 @@
 #include "wx/timer.h"
 #include "wx/glcanvas.h"
 
 #include "wx/timer.h"
 #include "wx/glcanvas.h"
 
-#ifdef __WXMAC__
+#if defined(__WXMAC__) || defined(__WXCOCOA__)
 #   ifdef __DARWIN__
 #       include <OpenGL/gl.h>
 #       include <OpenGL/glu.h>
 #   ifdef __DARWIN__
 #       include <OpenGL/gl.h>
 #       include <OpenGL/glu.h>