Remove incorrect g_object_ref on wxMenuBar

Should probably have been removed as part of 9ff9d30 (r55288)

(backport of 7986ccf039)
This commit is contained in:
Paul Cornett
2016-08-31 10:45:49 -07:00
parent 786f778b71
commit 48841ad703

View File

@@ -280,8 +280,6 @@ void wxFrame::DetachMenuBar()
#if wxUSE_LIBHILDON || wxUSE_LIBHILDON2
hildon_window_set_menu(HILDON_WINDOW(m_widget), NULL);
#else // !wxUSE_LIBHILDON && !wxUSE_LIBHILDON2
g_object_ref( m_frameMenuBar->m_widget );
gtk_container_remove( GTK_CONTAINER(m_mainWidget), m_frameMenuBar->m_widget );
#endif // wxUSE_LIBHILDON || wxUSE_LIBHILDON2 /!wxUSE_LIBHILDON && !wxUSE_LIBHILDON2
}