From: Lucian D. <lu...@eu...> - 2006-10-13 12:00:18
|
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 |