X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34a34b020f1c8defacb299a0fa5c480fa65b8597..22a35096a0a9c3fe4d3d32b8d68a361126ef9677:/include/wx/gtk1/glcanvas.h?ds=sidebyside diff --git a/include/wx/gtk1/glcanvas.h b/include/wx/gtk1/glcanvas.h index 596f76a7d9..ce59b1ad67 100644 --- a/include/wx/gtk1/glcanvas.h +++ b/include/wx/gtk1/glcanvas.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: glcanvas.h +// Name: wx/gtk1/glcanvas.h // Purpose: wxGLCanvas, for using OpenGL/Mesa with wxWidgets and GTK // Author: Robert Roebling // Modified by: @@ -12,10 +12,6 @@ #ifndef _WX_GLCANVAS_H_ #define _WX_GLCANVAS_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "glcanvas.h" -#endif - #include "wx/scrolwin.h" #include "wx/app.h" @@ -70,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); @@ -142,7 +138,7 @@ public: int *attribList = (int*) NULL, const wxPalette& palette = wxNullPalette ); - ~wxGLCanvas(); + virtual ~wxGLCanvas(); void SetCurrent(); void SetColour(const wxChar *colour);