[Tutor] wx accelerator table: one keystroke seems skipped

Alex Hall mehgcap at gmail.com
Thu Jan 6 16:35:37 CET 2011


On 1/6/11, Octavian Rasnita <orasnita at gmail.com> wrote:
> From: "Alex Hall" <mehgcap at gmail.com>
>> Hello all,
>> First, this is about a wx accelerator table, so if it is too off-topic
>> for this list, let me know.
>>
>> I have a table with 23 entries, all of which work. I added another
>> entry last night, and it does not work. The odd thing, though, is that
>> I do not get an error of any kind anywhere in the program, the
>> keystroke simply does not call the function to which it should be
>> bound. I even changed the function name to something that should have
>> thrown an exception, but nothing at all happens. The keystroke in
>> question is ctrl+m and is tied to ctrlM_id and the cancelMove()
>
> Control+M is equivalent with a <enter> key so this might be the problem.
Very interesting! When I changed it to shift+m, it worked perfectly,
yet ctrl+m is completely ignored. I will have to Google this. Thanks
for the hint; I never thought it was the actual keystroke that was
causing the problem.
>
> Octavian
>
>


-- 
Have a great day,
Alex (msg sent from GMail website)
mehgcap at gmail.com; http://www.facebook.com/mehgcap


More information about the Tutor mailing list