X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ef94bfc25eb21f1d3fa93b3d55c5a1ca18d8e62..22a35096a0a9c3fe4d3d32b8d68a361126ef9677:/include/wx/gtk1/glcanvas.h diff --git a/include/wx/gtk1/glcanvas.h b/include/wx/gtk1/glcanvas.h index 1dd103cfc1..ce59b1ad67 100644 --- a/include/wx/gtk1/glcanvas.h +++ b/include/wx/gtk1/glcanvas.h @@ -66,7 +66,7 @@ public: const wxPalette& WXUNUSED(palette), const wxGLContext *other /* for sharing display lists */ ); - ~wxGLContext(); + virtual ~wxGLContext(); void SetCurrent(); void SetColour(const wxChar *colour); @@ -138,7 +138,7 @@ public: int *attribList = (int*) NULL, const wxPalette& palette = wxNullPalette ); - ~wxGLCanvas(); + virtual ~wxGLCanvas(); void SetCurrent(); void SetColour(const wxChar *colour);