]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected includes for Mac OS X
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Sun, 5 Aug 2001 16:34:37 +0000 (16:34 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Sun, 5 Aug 2001 16:34:37 +0000 (16:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/glcanvas.h

index 73e067d3019c4b34401ba47b8970e86fca49ea2f..5e2a3f606e3376232625367cc6c6f33451d46bcc 100644 (file)
@@ -10,7 +10,7 @@
 /////////////////////////////////////////////////////////////////////////////
 
 #ifdef __GNUG__
-#pragma interface "glcanvas.h"
+#  pragma interface "glcanvas.h"
 #endif
 
 #ifndef _WX_GLCANVAS_H_
 #include "wx/palette.h"
 #include "wx/scrolwin.h"
 
-#include <gl.h>
-#include <agl.h>
+#ifdef __DARWIN__
+#  include <OpenGL/gl.h>
+#  include <AGL/agl.h>
+#else
+#  include <gl.h>
+#  include <agl.h>
+#endif
 
 //---------------------------------------------------------------------------
 // Constants for attriblist