From fa6ff5f183975a5e99443296ba20c50f453f36b6 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Mon, 12 Apr 2010 16:47:30 +0000 Subject: [PATCH] fixing copy/paste error from carbon version, fixes #11540 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/cocoa/menuitem.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osx/cocoa/menuitem.mm b/src/osx/cocoa/menuitem.mm index cb525c3fac..60b54eae14 100644 --- a/src/osx/cocoa/menuitem.mm +++ b/src/osx/cocoa/menuitem.mm @@ -68,7 +68,7 @@ void wxMacCocoaMenuItemSetAccelerator( NSMenuItem* menuItem, wxAcceleratorEntry* int key = entry->GetKeyCode() ; if ( key ) { - if (entry->GetFlags() & wxACCEL_CTRL); + if (entry->GetFlags() & wxACCEL_CTRL) modifiers |= NSCommandKeyMask; if (entry->GetFlags() & wxACCEL_ALT) -- 2.45.2