// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "menu.h"
#pragma implementation "menuitem.h"
#endif
// wxWidgets headers
// -----------------
+#include "wx/wxprec.h"
+
#include "wx/app.h"
#include "wx/menu.h"
#include "wx/menuitem.h"
}
-// ---------------------------------------------------------------------------
-// wxMenuBar construction
-// ---------------------------------------------------------------------------
-
// ---------------------------------------------------------------------------
// wxMenuBar construction
// ---------------------------------------------------------------------------
{
if (s_macInstalledMenuBar == this)
{
+ menu->MacBeforeDisplay( false ) ;
::InsertMenu( MAC_WXHMENU(menu->GetHMenu()) , 0 ) ;
}