From: David Elliott Date: Fri, 1 Oct 2004 14:26:19 +0000 (+0000) Subject: wxCocoa needs OpenGL/*.h instead of GL/*.h (for OpenGL.framework includes) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/509dcc4b805aeb21742f58a9acefa2de9038dd69 wxCocoa needs OpenGL/*.h instead of GL/*.h (for OpenGL.framework includes) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/opengl/isosurf/isosurf.cpp b/samples/opengl/isosurf/isosurf.cpp index 1489b7f958..ad9a6273c5 100644 --- a/samples/opengl/isosurf/isosurf.cpp +++ b/samples/opengl/isosurf/isosurf.cpp @@ -28,7 +28,7 @@ #include "wx/timer.h" #include "wx/glcanvas.h" -#ifdef __WXMAC__ +#if defined(__WXMAC__) || defined(__WXCOCOA__) # ifdef __DARWIN__ # include # include