X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd2af428570c0a05177b8fb715660fa9e78fd720..b7452b3a0e502c1e6c9df113323561032280fcd2:/include/wx/cocoa/glcanvas.h diff --git a/include/wx/cocoa/glcanvas.h b/include/wx/cocoa/glcanvas.h index 49f6a52595..18b8a5fd75 100644 --- a/include/wx/cocoa/glcanvas.h +++ b/include/wx/cocoa/glcanvas.h @@ -12,6 +12,8 @@ #ifndef _WX_COCOA_GLCANVAS_H__ #define _WX_COCOA_GLCANVAS_H__ +#include "wx/window.h" + // #include "wx/cocoa/NSOpenGLView.h" // Include gl.h from the OpenGL framework #include @@ -32,7 +34,7 @@ public: const wxPalette& WXUNUSED(palette), const wxGLContext *other /* for sharing display lists */ ); - ~wxGLContext(); + virtual ~wxGLContext(); void SetCurrent();