develooper Front page | perl.wxperl.users | Postings from July 2008

Re: EVT_KEY_UP on linux and on windows

Thread Previous
From:
Johan Vromans
Date:
July 17, 2008 06:49
Subject:
Re: EVT_KEY_UP on linux and on windows
Message ID:
m2lk004w4q.fsf@phoenix.squirrel.nl
"Gabor Szabo" <szabgab@gmail.com> writes:

> EVT_KEY_UP( $self, \&on_key );
> On Linux it works on Windows it does not.
> 
> What am I doing wrong ?

My guess is that on Windows the window associated with $self is not
eligible to receive key events.

Did you try running Wx::Demo? It has some demo code to use EVT_KEY_UP
(e.g., in the ComboBox demo).

-- Johan

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About