Applied glcanvas patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
6491f9335e
commit
3ac81fb1c5
@ -391,6 +391,12 @@ bool wxGLCanvas::Create( wxWindow *parent,
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -391,6 +391,12 @@ bool wxGLCanvas::Create( wxWindow *parent,
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user