I have a menu item created like this:
my $file_save = $menu->Append( Wx::wxID_SAVE, "&Save" );
Wx::Event::EVT_MENU( $win,
$file_save,
\&on_save,
);I try to emulate clicking on this menu item: my $event = Wx::CommandEvent->new( Wx::wxID_SAVE, -1 ); $main->ProcessEvent($event); but it does not reach he on_save event handler. Can I do this? How? Gabor
