X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b73e73f912a51b8be582b8bc987bb47fb5fc543a..bd9f3519cf4d3adec765a932a726e2f1d34e0df9:/include/wx/x11/glcanvas.h diff --git a/include/wx/x11/glcanvas.h b/include/wx/x11/glcanvas.h index 266be112a3..c00e486283 100644 --- a/include/wx/x11/glcanvas.h +++ b/include/wx/x11/glcanvas.h @@ -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);