X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e39af974ef7846e26686ae39d74e4696c1fef0c3..ef0898052549fc7d1c71b1165dafef42c9735cdf:/src/gtk/frame.cpp diff --git a/src/gtk/frame.cpp b/src/gtk/frame.cpp index fd6e17f28a..a53ad607c0 100644 --- a/src/gtk/frame.cpp +++ b/src/gtk/frame.cpp @@ -15,10 +15,13 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "frame.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/defs.h" #include "wx/dialog.h" @@ -578,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(); }