Using actual Control key in WxMac as menu accelerator key.

Hi,

In my multi-platform program I use Ctrl-Space. But in the Mac this translates to Cmd-Space
which is the global Spotlight Accelerator.

For compatability I want the ACTUAL Ctrl-Space on the Mac. But in menus, all Ctrl-xxx
is translated by the WxMac layer to Cmd-Space.

How do I create an accelerator key in a menu using the actual Control Key?

Thanks,
Antonio.

I didn't know this before, but when I was browsing the source to answer your other question I found that if you use "xctrl" in the accelerator then it is left as the Ctrl key and not converted to the Cmd key.

···

On 10/10/10 4:54 AM, Antonio Gom�z Soto wrote:

Hi,

In my multi-platform program I use Ctrl-Space. But in the Mac this
translates to Cmd-Space
which is the global Spotlight Accelerator.

For compatability I want the ACTUAL Ctrl-Space on the Mac. But in menus,
all Ctrl-xxx
is translated by the WxMac layer to Cmd-Space.

How do I create an accelerator key in a menu using the actual Control Key?

--
Robin Dunn
Software Craftsman