develooper Front page | perl.wxperl.users | Postings from February 2013

Attaching events to popup menus

Dave Hayes
February 6, 2013 22:57
Attaching events to popup menus
Message ID:
How do I do this? I tried

   my $menu = Wx::Menu->new();
   EVT_CHAR($menu, sub { ... });

but it doesn't seem to fire.
Dave Hayes - Consultant - Altadena CA, USA -
 >>>> *The opinions expressed above are entirely my own* <<<<

"All the wonders you seek are within yourself."
                               -Sir Thomas Brown Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About