Re: Two parameter versus three parameter EVTs

2009-08-06 Thread Andri Möll
Just like you thought, using an anonymous subroutine in the form of sub { call_lookup_patient_id($self, @_) } as the callback should do the trick. Andri On Thu, 2009-08-06 at 09:02 -0300, Steve Cookson wrote: > Hi, > > [Sorry for the cross-posting, I've only just found this group]. > > I'm

Two parameter versus three parameter EVTs

2009-08-06 Thread Steve Cookson
Hi, [Sorry for the cross-posting, I've only just found this group]. I'm having difficulty passing an object to an event handler in Perl. I have two events which populate a screen with patient details Either by pressing search and returning a value: Wx::Event::EVT_BUTTON( $self,