From: Vadim Zeitlin Date: Mon, 6 Nov 2006 12:59:38 +0000 (+0000) Subject: (blind) compilation fix for wxCocoa X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6716fce4398b873d0153a487de2a937084ec9b60?ds=sidebyside (blind) compilation fix for wxCocoa git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/opengl/isosurf/isosurf.cpp b/samples/opengl/isosurf/isosurf.cpp index 8e5aec6357..781d2a8a16 100644 --- a/samples/opengl/isosurf/isosurf.cpp +++ b/samples/opengl/isosurf/isosurf.cpp @@ -272,7 +272,7 @@ bool MyApp::OnInit() int gl_attrib[20] = { WX_GL_RGBA, WX_GL_MIN_RED, 1, WX_GL_MIN_GREEN, 1, WX_GL_MIN_BLUE, 1, WX_GL_DEPTH_SIZE, 1, WX_GL_DOUBLEBUFFER, -# ifdef __WXMAC__ +# if defined(__WXMAC__) || defined(__WXCOCOA__) GL_NONE }; # else None };