Re: [perl] Derived classes and events

Carsten Grohmann <[email protected]>
Newsgroups gmane.comp.python.wxglade
Message-ID <[email protected]>
Hi Johan,

Johan Vromans schrieb am 08.05.2016:
> The final solution was to change the generated code from
> 
> Wx::Event::EVT_BUTTON($self, $self->{button_1}->GetId, \&buttonpush);
> 
> to
> 
> Wx::Event::EVT_BUTTON($self, $self->{button_1}->GetId,
> $self->can('buttonpush'));
I've added the suggested change to my TODO list and will implement it,
if nobody raise the hand and have doubts about it.

Regards,
Carsten

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.