- wxScrolledWindow::Create( parent, id, pos, size, style, name );
-
- gtk_myfixed_put( GTK_MYFIXED(m_wxwindow), m_glWidget, 0, 0 );
-
- gtk_signal_connect( GTK_OBJECT(m_glWidget), "expose_event",
- GTK_SIGNAL_FUNC(gtk_window_expose_callback), (gpointer)this );
-
- gtk_signal_connect( GTK_OBJECT(m_glWidget), "draw",
- GTK_SIGNAL_FUNC(gtk_window_draw_callback), (gpointer)this );
-
- /* connect to key press and mouse handlers etc. */
- ConnectWidget( m_glWidget );
-
- gtk_widget_show( m_glWidget );
-
- m_glContext = new wxGLContext( TRUE, this, palette );
-
- XFree( g_vi );
- g_vi = (XVisualInfo*) NULL;
-