"Steve Cookson" <[email protected]> writes:

> http://wxperl.pvoice.org/w/index.php/Event_Handlers

Good job, Steve!

A couple of remarks.

For a 2-arg event handler, you can pass the full $self object with a
wrapper:

  Wx::Event::EVT_KILL_FOCUS($self->{field_1},
      sub { event_handler_sub( $self, @_ ) } );

Although the wxWidgets book is part of Bruce Perens' Open Source
Series, it is written by Julian Smart and Kevin Hock with Stefan
Csomor.

-- Johan

Reply via email to