X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5f4bed8ad4733a0b7bb828a63a74883e52939e3d..a51e79e87db3512823258d487849bb7e7947b700:/src/osx/cocoa/menu.mm?ds=sidebyside diff --git a/src/osx/cocoa/menu.mm b/src/osx/cocoa/menu.mm index 1a632e95f6..760f159263 100644 --- a/src/osx/cocoa/menu.mm +++ b/src/osx/cocoa/menu.mm @@ -155,7 +155,6 @@ public : } [menu setDelegate:controller]; [m_osxMenu setImplementation:this]; - [menu setAutoenablesItems:NO]; // gc aware if ( m_osxMenu ) CFRetain(m_osxMenu); @@ -167,7 +166,7 @@ public : virtual void InsertOrAppend(wxMenuItem *pItem, size_t pos) { NSMenuItem* nsmenuitem = (NSMenuItem*) pItem->GetPeer()->GetHMenuItem(); - // make sure a call of SetSubMenu is also reflected (occuring after Create) + // make sure a call of SetSubMenu is also reflected (occurring after Create) // update the native menu item accordingly if ( pItem->IsSubMenu() )