- if (!isDown)
- {
- if (modifiers & wxMOD_SHIFT)
- DoSimulateKbdEvent(VK_SHIFT, false);
- if (modifiers & wxMOD_ALT)
- DoSimulateKbdEvent(VK_MENU, false);
- if (modifiers & wxMOD_CMD)
- DoSimulateKbdEvent(VK_CONTROL, false);
- }
+ keybd_event(vkkeycode, 0, flags, 0);