]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/frame.cpp
make sure we are comparing the stripped strings
[wxWidgets.git] / src / gtk / frame.cpp
index fd6e17f28a60cb2652bcb7080b62718d322f4d43..a53ad607c0bc764e24d05ca568129d47c0e25111 100644 (file)
 // 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();
     }