Re: unpleasant characters - Mailing list pgadmin-hackers

From Euler Taveira de Oliveira
Subject Re: unpleasant characters
Date
Msg-id 4B264569.5020500@timbira.com
Whole thread Raw
In response to Re: unpleasant characters  (Dave Page <dpage@pgadmin.org>)
Responses Re: unpleasant characters
Re: unpleasant characters
List pgadmin-hackers
Dave Page escreveu:
> Do you know if this will have any unpleasant side-effects in Japan or
> other regions with what we would consider to be unusual keyboard
> layouts?
>
>
As I said, I don't know if we'll have problems with it; but if they map Fx key
to some character, they have trouble using our shortcuts anyway. Could Hiroshi
or someone else confirm this? If we have problems, I'm afraid the only path is
coding OnChar() (which would be a pain in the neck because we'll have to
maintain code that IMHO is WX responsibility).

I noticed that even if we don't event.Skip() on OnKeyDown() event (the patch)
the shortcut is executed (for example F5) maybe because it is caught by
OnKeyUp(), another key event, or another object? I don't know how events are
handled in WX but somehow OnKeyDown() are processed _before_ OnChar() so the
character are not printed. Also, it didn't prevent another object (wxMenu) to
capture that event too.

Did you reproduce the problem?


--
  Euler Taveira de Oliveira
  http://www.timbira.com/

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: unpleasant characters
Next
From: svn@pgadmin.org
Date:
Subject: SVN Commit by dpage: r8129 - in trunk/pgadmin3: pgadmin pgadmin/include/images pkg pkg/mac pkg/mandrake pkg/slackware