X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4908591c7eb448f3a0f70f3b0c6c4170b5945f9a..6f0b6fd1e4b5b2633e1f34c54c8d4f4e5da98637:/src/gtk/frame.cpp diff --git a/src/gtk/frame.cpp b/src/gtk/frame.cpp index bcb72003fe..05635a131e 100644 --- a/src/gtk/frame.cpp +++ b/src/gtk/frame.cpp @@ -281,8 +281,6 @@ void wxFrame::DetachMenuBar() #if wxUSE_LIBHILDON || wxUSE_LIBHILDON2 hildon_window_set_menu(HILDON_WINDOW(m_widget), NULL); #else // !wxUSE_LIBHILDON && !wxUSE_LIBHILDON2 - m_frameMenuBar->UnsetInvokingWindow( this ); - gtk_widget_ref( m_frameMenuBar->m_widget ); gtk_container_remove( GTK_CONTAINER(m_mainWidget), m_frameMenuBar->m_widget ); @@ -305,8 +303,6 @@ void wxFrame::AttachMenuBar( wxMenuBar *menuBar ) hildon_window_set_menu(HILDON_WINDOW(m_widget), GTK_MENU(m_frameMenuBar->m_menubar)); #else // !wxUSE_LIBHILDON && !wxUSE_LIBHILDON2 - m_frameMenuBar->SetInvokingWindow( this ); - m_frameMenuBar->SetParent(this); // menubar goes into top of vbox (m_mainWidget)