]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/frame.cpp
forgot to commit ...
[wxWidgets.git] / src / gtk / frame.cpp
index 421643ddbb3ebc3a175e6aeff9a496208b6c6727..915b7a2dd2568105428e60002eb61cacbbbf5ad2 100644 (file)
@@ -302,9 +302,8 @@ void wxFrame::AttachMenuBar( wxMenuBar *menuBar )
     {
 #if wxUSE_LIBHILDON || wxUSE_LIBHILDON2
         hildon_window_set_menu(HILDON_WINDOW(m_widget),
-                               GTK_MENU(m_frameMenuBar->m_menubar));
+                               GTK_MENU(m_frameMenuBar->m_widget));
 #else // !wxUSE_LIBHILDON && !wxUSE_LIBHILDON2
-        m_frameMenuBar->SetParent(this);
 
         // menubar goes into top of vbox (m_mainWidget)
         gtk_box_pack_start(