Re: Why does SUPER->focusInEvent not work?

Matthew Pressly <[email protected]>
Newsgroups gmane.comp.kde.devel.perl
Message-ID <[email protected]>
On Thu, Jul 01, 2004 at 12:30:08PM -0500, Matthew Pressly wrote:
[...]
I found the problem:
> sub focusInEvent {
>   print "focus in event\n";
>   SUPER->focusInEvent();
> }

It needs to pass @_ to SUPER->focusInEvent:

sub focusInEvent {
  print "focus in event\n";
  SUPER->focusInEvent(@_);
}

--
Matthew
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.