case WXK_SHIFT: keycode = kVK_Shift; break;
case WXK_ALT: keycode = kVK_Option; break;
- case WXK_CONTROL: keycode = kVK_Control; break;
- case WXK_COMMAND: keycode = kVK_Command; break;
+ case WXK_RAW_CONTROL: keycode = kVK_Control; break;
+ case WXK_CONTROL: keycode = kVK_Command; break;
case WXK_CAPITAL: keycode = kVK_CapsLock; break;
case WXK_END: keycode = kVK_End; break;
{
case WXK_START:
case WXK_MENU:
+ case WXK_COMMAND:
return cmdKey;
case WXK_SHIFT:
case WXK_ALT:
return optionKey;
- case WXK_CONTROL:
+ case WXK_RAW_CONTROL:
return controlKey;
default:
ms.SetRightDown( (buttons & 0x02) != 0 );
UInt32 modifiers = GetCurrentKeyModifiers();
- ms.SetControlDown(modifiers & controlKey);
+ ms.SetRawControlDown(modifiers & controlKey);
ms.SetShiftDown(modifiers & shiftKey);
ms.SetAltDown(modifiers & optionKey);
- ms.SetMetaDown(modifiers & cmdKey);
+ ms.SetControlDown(modifiers & cmdKey);
return ms;
}
}
event.m_shiftDown = modifiers & shiftKey;
- event.m_controlDown = modifiers & controlKey;
+ event.m_rawControlDown = modifiers & controlKey;
event.m_altDown = modifiers & optionKey;
- event.m_metaDown = modifiers & cmdKey;
+ event.m_controlDown = modifiers & cmdKey;
event.m_keyCode = keyval ;
#if wxUSE_UNICODE
event.m_uniChar = uniChar ;