X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b73e73f912a51b8be582b8bc987bb47fb5fc543a..ad667945478cda0c0a33e154f1d4403402cffb9e:/include/wx/mac/carbon/glcanvas.h?ds=sidebyside diff --git a/include/wx/mac/carbon/glcanvas.h b/include/wx/mac/carbon/glcanvas.h index be7f16eb3d..802067a0cb 100644 --- a/include/wx/mac/carbon/glcanvas.h +++ b/include/wx/mac/carbon/glcanvas.h @@ -61,7 +61,7 @@ public: const wxPalette& WXUNUSED(palette), const wxGLContext *other /* for sharing display lists */ ); - ~wxGLContext(); + virtual ~wxGLContext(); void SetCurrent(); void Update(); // must be called after window drag/grows/zoom or clut change @@ -94,7 +94,7 @@ class WXDLLEXPORT wxGLCanvas: public wxWindow const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, const wxString& name = wxT("GLCanvas"), int *attribList = 0, const wxPalette& palette = wxNullPalette ); - ~wxGLCanvas(); + virtual ~wxGLCanvas(); bool Create(wxWindow *parent, const wxGLContext *shared, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name,