X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b5f1895643cf94b38ac19a4c1151e259310852e..dcae64c221450a7ca9b530ecf44757543c33a754:/src/gtk/glcanvas.cpp diff --git a/src/gtk/glcanvas.cpp b/src/gtk/glcanvas.cpp index 7ce06c5f0b..7e2e6e7463 100644 --- a/src/gtk/glcanvas.cpp +++ b/src/gtk/glcanvas.cpp @@ -401,7 +401,6 @@ bool wxGLCanvas::Create( wxWindow *parent, 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; @@ -426,7 +425,6 @@ bool wxGLCanvas::Create( wxWindow *parent, if (gtk_check_version(2,2,0) != NULL) { - gtk_widget_pop_visual(); gtk_widget_pop_colormap(); }