- int x = 0;
- int y = 0;
- GetClientSize( &x, &y );
- m_mdiMenuBar->SetSize( 1, 1, x-2, wxMENU_HEIGHT-2, wxSIZE_NO_ADJUSTMENTS );
+ m_mdiMenuBar->m_x = 0;
+ m_mdiMenuBar->m_y = 0;
+ m_mdiMenuBar->m_width = m_width;
+ m_mdiMenuBar->m_height = wxMENU_HEIGHT;
+ gtk_myfixed_move( GTK_MYFIXED(m_wxwindow), m_mdiMenuBar->m_widget, 0, 0 );
+ gtk_widget_set_usize( m_mdiMenuBar->m_widget, m_width, wxMENU_HEIGHT );