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
This commit is contained in:
Stefan Csomor 2010-04-12 16:47:30 +00:00
parent 59d866ad85
commit fa6ff5f183

View File

@ -68,7 +68,7 @@ void wxMacCocoaMenuItemSetAccelerator( NSMenuItem* menuItem, wxAcceleratorEntry*
int key = entry->GetKeyCode() ; int key = entry->GetKeyCode() ;
if ( key ) if ( key )
{ {
if (entry->GetFlags() & wxACCEL_CTRL); if (entry->GetFlags() & wxACCEL_CTRL)
modifiers |= NSCommandKeyMask; modifiers |= NSCommandKeyMask;
if (entry->GetFlags() & wxACCEL_ALT) if (entry->GetFlags() & wxACCEL_ALT)