]> git.saurik.com Git - wxWidgets.git/commitdiff
fixing copy/paste error from carbon version, fixes #11540
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 12 Apr 2010 16:47:30 +0000 (16:47 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 12 Apr 2010 16:47:30 +0000 (16:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/menuitem.mm

index cb525c3fac272b83148a2a3f17f8f0eeb123235d..60b54eae14165e7a880555e54ab3b36f245dc233 100644 (file)
@@ -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)