X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5a83f42b3a0378cbb71d87c200bbd9295b0aaa82..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/gtk/glcanvas.h?ds=sidebyside diff --git a/include/wx/gtk/glcanvas.h b/include/wx/gtk/glcanvas.h index 998e593bef..01591149b5 100644 --- a/include/wx/gtk/glcanvas.h +++ b/include/wx/gtk/glcanvas.h @@ -1,10 +1,9 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: glcanvas.h +// Name: wx/gtk/glcanvas.h // Purpose: wxGLCanvas, for using OpenGL/Mesa with wxWidgets and GTK // Author: Robert Roebling // Modified by: // Created: 17/8/98 -// RCS-ID: $Id$ // Copyright: (c) Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -39,6 +38,7 @@ public: const int *attribList = NULL, const wxPalette& palette = wxNullPalette); + virtual bool SetBackgroundStyle(wxBackgroundStyle style); // implement wxGLCanvasX11 methods // -------------------------------- @@ -92,8 +92,10 @@ public: // 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;