]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/glcanvas.h
renamed wxRect::Inside() to wxRect::Contains(), wxRect::Inside(wxRect) is too confusing
[wxWidgets.git] / include / wx / gtk1 / glcanvas.h
index 596f76a7d9977652d34c910e662855e0979153e9..ce59b1ad673bd11b3eebbd2ff6cc9286f2bfc850 100644 (file)
@@ -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:
 #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);