git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11284
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
/////////////////////////////////////////////////////////////////////////////
#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