From: Daniel <dan...@ya...> - 2006-11-20 12:32:13
|
Hi all, I tried to use Wx::ContextHelpButton like this: #context help button $panel_release->{button}{"help_button"} = Wx::ContextHelpButton->new( $panel_release, # parent window -1, # ID [500, 40], # position [-1, -1], # default size wxDIALOG_EX_CONTEXTHELP ); but I got the message: Can't locate object method "new" via package "Wx::ContextHelpButton" (perhaps you forgot to load "Wx::ContextHelpButton"?) at C:\Work\Tivoli\Scripte\WXPerl\TDI-Ersteller.pl line 671. I have loaded all modules (use Wx;), so I should have loaded it or not? In help.pm I found: package Wx::ContextHelpButton; @ISA = qw(Wx::BitmapButton); So it is there but why can't I use it? Any Idea? Thanks Daniel ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |