mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-10-06 07:00:16 +08:00
Use the new API, i.e. call ClaimsKeyBeforeAccelerator() and send wxEVT_ACCELERATOR_KEY, in wxOSX too, whenever possible, i.e. not for Cmd-Letter used by the menu items as we never get key events for them at all. This probably could be worked around by overriding performKeyEquivalent: but for now leave it like this because hopefully there should be no conflict between menu accelerators and standard text editing keys as Cmd+C etc act on the focused window anyhow by default, so the behaviour should be already correct anyhow.