GTK2: gtk_widget_{push,pop}_visual don't do anything in GTK2, other than break compilation with
GTK_DISABLE_DEPRECATED git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
18e989043b
commit
f91f71e384
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user