X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1d63b79352db5290a9f86428d193bd6a08ef32f..5482ee0766d86c79f82733780d5d4833070bf064:/include/wx/palmos/glcanvas.h diff --git a/include/wx/palmos/glcanvas.h b/include/wx/palmos/glcanvas.h index a6e56a9628..013ee3d81d 100644 --- a/include/wx/palmos/glcanvas.h +++ b/include/wx/palmos/glcanvas.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "glcanvas.h" -#endif - #ifndef _WX_GLCANVAS_H_ #define _WX_GLCANVAS_H_ @@ -63,7 +59,7 @@ public: const wxPalette& WXUNUSED(palette), const wxGLContext *other /* for sharing display lists */ ); - ~wxGLContext(); + virtual ~wxGLContext(); void SetCurrent(); @@ -115,7 +111,7 @@ public: int *attribList = 0, const wxPalette& palette = wxNullPalette); - ~wxGLCanvas(); + virtual ~wxGLCanvas(); // Replaces wxWindow::Create functionality, since // we need to use a different window class