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

Attaching events to popup menus

From:
Dave Hayes
Date:
February 6, 2013 22:57
Subject:
Attaching events to popup menus
Message ID:
5112DFC1.90304@jetcafe.org
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 - dave@jetcafe.org
 >>>> *The opinions expressed above are entirely my own* <<<<

"All the wonders you seek are within yourself."
                               -Sir Thomas Brown



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About