]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/menu_osx.cpp
Implement setFont on the iOS port of wxStaticText.
[wxWidgets.git] / src / osx / menu_osx.cpp
index 2bf5cede9e763d3240b3f7ccce49acd7b63b6c20..8cd6da4b551108c049c6456e28283103fc9f0124 100644 (file)
@@ -622,6 +622,7 @@ void wxMenuBar::Init()
     m_appleMenu = new wxMenu();
     m_appleMenu->SetAllowRearrange(false);
 
+#if 0
     // Create standard items unless the application explicitly disabled this by
     // setting the corresponding ids to wxID_NONE: although this is not
     // recommended, sometimes these items really don't make sense.
@@ -657,6 +658,7 @@ void wxMenuBar::Init()
     quitLabel = wxString::Format(_("Quit %s"), wxTheApp ? wxTheApp->GetAppDisplayName() : _("Application"));
     m_appleMenu->Append( wxApp::s_macExitMenuItemId, quitLabel + "\tCtrl+Q" );
 #endif // !wxOSX_USE_CARBON
+#endif
 
     m_rootMenu->AppendSubMenu(m_appleMenu, "\x14") ;
 }
@@ -715,6 +717,7 @@ void wxMenuBar::MacInstallMenuBar()
 
     m_rootMenu->GetPeer()->MakeRoot();
     
+#if 0
     // hide items in the apple menu that don't exist in the wx menubar
     
     wxMenuItem* appleItem = NULL;
@@ -741,6 +744,7 @@ void wxMenuBar::MacInstallMenuBar()
         else 
             appleItem->SetItemLabel(wxItem->GetItemLabel());
     }
+#endif
     
         
 #if 0