X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f48d169c4a57bd4ac2f44e42b9fd26a930bbdca0..ace954f1db1aa71cd477cb39e08b893f46aa7de0:/include/wx/msw/glcanvas.h diff --git a/include/wx/msw/glcanvas.h b/include/wx/msw/glcanvas.h index 534528d559..31301489e0 100644 --- a/include/wx/msw/glcanvas.h +++ b/include/wx/msw/glcanvas.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: glcanvas.h +// Name: wx/msw/glcanvas.h // Purpose: wxGLCanvas, for using OpenGL with wxWindows under Windows // Author: Julian Smart // Modified by: @@ -16,16 +16,12 @@ #ifndef _WX_GLCANVAS_H_ #define _WX_GLCANVAS_H_ -#include - -#if wxUSE_GLCANVAS - #include #include #include -#include "gl/gl.h" +#include //--------------------------------------------------------------------------- // Constants for attriblist @@ -83,7 +79,7 @@ public: wxWindow* m_window; }; -class WXDLLEXPORT wxGLCanvas: public wxScrolledWindow +class WXDLLEXPORT wxGLCanvas: public wxWindow { DECLARE_CLASS(wxGLCanvas) public: @@ -128,11 +124,9 @@ protected: wxPalette m_palette; WXHDC m_hDC; -DECLARE_EVENT_TABLE() + DECLARE_EVENT_TABLE() }; -#endif - // wxUSE_GLCANVAS #endif // _WX_GLCANVAS_H_