/////////////////////////////////////////////////////////////////////////////
-// Name: glcanvas.h
+// Name: wx/gtk/glcanvas.h
// Purpose: wxGLCanvas, for using OpenGL/Mesa with wxWidgets and GTK
// Author: Robert Roebling
// Modified by:
// wxGLCanvas
//---------------------------------------------------------------------------
-class WXDLLEXPORT wxGLCanvas : public wxGLCanvasX11
+class WXDLLIMPEXP_GL wxGLCanvas : public wxGLCanvasX11
{
public:
wxGLCanvas(wxWindow *parent,
const int *attribList = NULL,
const wxPalette& palette = wxNullPalette);
+ virtual bool SetBackgroundStyle(wxBackgroundStyle style);
// implement wxGLCanvasX11 methods
// --------------------------------
// implementation from now on
void OnInternalIdle();
- GtkWidget *m_glWidget;
bool m_exposed;
+#ifdef __WXGTK3__
+ cairo_t* m_cairoPaintContext;
+#endif
#if WXWIN_COMPATIBILITY_2_8
wxGLContext *m_sharedContext;