keyboard event not called on subclass of wxScrolledWindow (on mac)
Riccardo Cohen
rcohen at articque.com
Mon Sep 24 06:19:32 PDT 2007
no, there is nothing inside, just some event functions. this class does
basically nothing
Vadim Zeitlin wrote:
> On Mon, 24 Sep 2007 14:15:34 +0200 Riccardo Cohen <rcohen at articque.com> wrote:
>
> RC> I made a little class that inherit from wxScrolledWindow and that handle
> RC> all typical events (motion, leftclic, keydown...):
> ...
> RC> for information I call SetFocus() at leftclic event. (if not I do not
> RC> get the focus all the time)
>
> This is already a bug... It shouldn't be necessary to call SetFocus().
>
> RC> I can get all events called, on all plateforms, but on Mac, key_down is
> RC> not called.
>
> The focus must be somewhere else. Does your scroll window have an
> children?
>
> Regards,
> VZ
>
--
Très cordialement,
Riccardo Cohen
ligne directe : 02-47-49-63-24
-------------------------------------------
Articque
http://www.articque.com
149 av Général de Gaulle
37230 Fondettes - France
tel : 02-47-49-90-49
fax : 02-47-49-91-49
More information about the wx-users
mailing list