/////////////////////////////////////////////////////////////////////////////
-// Name: gtk/glcanvas.cpp
+// Name: src/gtk/glcanvas.cpp
// Purpose: wxGLCanvas, for using OpenGL/Mesa with wxWidgets and GTK
// Author: Robert Roebling
// Modified by:
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
-#include "wx/setup.h"
-
#if wxUSE_GLCANVAS
#include "wx/glcanvas.h"
colormap = gdk_colormap_new( visual, TRUE );
gtk_widget_push_colormap( colormap );
- gtk_widget_push_visual( visual );
wxWindow::Create( parent, id, pos, size, style, name );
m_glWidget = m_wxwindow;
if (gtk_check_version(2,2,0) != NULL)
{
- gtk_widget_pop_visual();
gtk_widget_pop_colormap();
}