From: Lucian D. <lu...@eu...> - 2006-10-13 12:19:21
|
In fact, I was wrong: is working with Wx::PlCommandEvent _or_ Wx::CommandEvent, but you must set the Id. > You must use the Wx::PlCommandEvent class. > > > my $event = Wx::CommandEvent->new(wxEVT_COMMAND_BUTTON_CLICKED); > > my $event = Wx::PlCommandEvent->new(wxEVT_COMMAND_BUTTON_CLICKED, > $self->{button_a}->GetId); > > > $event->SetEventObject( $button ); > > $window->GetEventHandler()->ProcessEvent($event); > > Best regards, > Lucian Dragus > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users |