+//-----------------------------------------------------------------------------
+// "realize" from m_wxwindow
+//-----------------------------------------------------------------------------
+
+static gint
+gtk_glwindow_realized_callback( GtkWidget * WXUNUSED(widget), wxGLCanvas *win )
+{
+ win->m_glContext = new wxGLContext( TRUE, win, wxNullPalette, win->m_glContext );
+
+ return FALSE;
+}
+