]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/glcanvas.h
use wxSizerFlags and updated CreateButtonSizer() in all generic dialogs
[wxWidgets.git] / include / wx / x11 / glcanvas.h
index 266be112a3e6ad4600a9cacf3eac1adadd51f862..c00e486283e11914f11e99ff9384e4b225a84c57 100644 (file)
@@ -57,7 +57,7 @@ public:
         const wxPalette& WXUNUSED(palette),
         const wxGLContext *other  /* for sharing display lists */
         );
-    ~wxGLContext();
+    virtual ~wxGLContext();
 
     void SetCurrent();
     void SetColour(const wxChar *colour);
@@ -124,7 +124,7 @@ public:
         int *attribList = (int*) NULL,
         const wxPalette& palette = wxNullPalette );
 
-    ~wxGLCanvas();
+    virtual ~wxGLCanvas();
 
     void SetCurrent();
     void SetColour(const wxChar *colour);