data[6] = GLX_GREEN_SIZE; data[7] = 1;
data[8] = GLX_BLUE_SIZE; data[9] = 1;
data[10] = GLX_ALPHA_SIZE; data[11] = 0;
- data[13] = None;
+ data[12] = None;
attribList = (int*) data;
}
gtk_widget_pop_visual();
gtk_widget_pop_colormap();
+ if (GTK_WIDGET_REALIZED(m_wxwindow))
+ gtk_glwindow_realized_callback( m_wxwindow, this );
+
+ if (GTK_WIDGET_MAPPED(m_wxwindow))
+ gtk_glwindow_map_callback( m_wxwindow, this );
+
return TRUE;
}