]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/glcanvas.h
added missing methods/removed duplicated base methods
[wxWidgets.git] / 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