/////////////////////////////////////////////////////////////////////////////
-// 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"
const wxPalette& WXUNUSED(palette),
const wxGLContext *other /* for sharing display lists */
);
- ~wxGLContext();
+ virtual ~wxGLContext();
void SetCurrent();
void SetColour(const wxChar *colour);
int *attribList = (int*) NULL,
const wxPalette& palette = wxNullPalette );
- ~wxGLCanvas();
+ virtual ~wxGLCanvas();
void SetCurrent();
void SetColour(const wxChar *colour);