/////////////////////////////////////////////////////////////////////////////
-// Name: glcanvas.h
+// Name: wx/msw/glcanvas.h
// Purpose: wxGLCanvas, for using OpenGL with wxWindows under Windows
// Author: Julian Smart
// Modified by:
#ifndef _WX_GLCANVAS_H_
#define _WX_GLCANVAS_H_
-#include <wx/setup.h>
-
-#if wxUSE_GLCANVAS
-
#include <wx/palette.h>
#include <wx/scrolwin.h>
#include <windows.h>
-#include "gl/gl.h"
+#include <GL/gl.h>
//---------------------------------------------------------------------------
// Constants for attriblist
wxWindow* m_window;
};
-class WXDLLEXPORT wxGLCanvas: public wxScrolledWindow
+class WXDLLEXPORT wxGLCanvas: public wxWindow
{
DECLARE_CLASS(wxGLCanvas)
public:
wxPalette m_palette;
WXHDC m_hDC;
-DECLARE_EVENT_TABLE()
+ DECLARE_EVENT_TABLE()
};
-#endif
- // wxUSE_GLCANVAS
#endif
// _WX_GLCANVAS_H_