]> git.saurik.com Git - wxWidgets.git/commitdiff
really show the menubar (calling Show(TRUE) doesn't do it any more)
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 1 Apr 2004 12:41:27 +0000 (12:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 1 Apr 2004 12:41:27 +0000 (12:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/frame.cpp
src/gtk1/frame.cpp

index 4bdfe079d3d72f0c2be70be30efec4066ad6a0f7..a53ad607c0bc764e24d05ca568129d47c0e25111 100644 (file)
@@ -581,7 +581,7 @@ void wxFrame::AttachMenuBar( wxMenuBar *menuBar )
                 GTK_SIGNAL_FUNC(gtk_menu_detached_callback), (gpointer)this );
         }
         
-        m_frameMenuBar->Show( TRUE );
+        gtk_widget_show( m_frameMenuBar->m_widget );
 
         UpdateMenuBarSize();
     }
index 4bdfe079d3d72f0c2be70be30efec4066ad6a0f7..a53ad607c0bc764e24d05ca568129d47c0e25111 100644 (file)
@@ -581,7 +581,7 @@ void wxFrame::AttachMenuBar( wxMenuBar *menuBar )
                 GTK_SIGNAL_FUNC(gtk_menu_detached_callback), (gpointer)this );
         }
         
-        m_frameMenuBar->Show( TRUE );
+        gtk_widget_show( m_frameMenuBar->m_widget );
 
         UpdateMenuBarSize();
     }