]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/glcanvas.h
removed wxArrayString casting hack, it doesn't work with the new wxString class
[wxWidgets.git] / include / wx / cocoa / glcanvas.h
index 49f6a52595958999c16db0b23d7070bbbcfbc8b2..18b8a5fd757b36e2ebcd7ae713a3b42c83c502df 100644 (file)
@@ -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 <OpenGL/gl.h>
@@ -32,7 +34,7 @@ public:
         const wxPalette& WXUNUSED(palette),
         const wxGLContext *other /* for sharing display lists */ );
 
-    ~wxGLContext();
+    virtual ~wxGLContext();
 
 
     void SetCurrent();