Ah,
I forgot the following to setup inheritance (appears elsewhere in my code)
package Wx::HtmlHelpFrame; @ISA = qw( Wx::Frame );
regards
Mark
On 05/03/2011 15:31, Johan Vromans wrote:
Mark Dootson<mark.doot...@znix.com> writes:
my $h = Wx::HtmlHelpController->new( wxHF_FLATTOOLBAR|wxHF_DEFAULTSTYLE );
$h->AddBook( $htb_file, 1 );
$h->DisplayContents;
if(my $hframe = Wx::Window::FindWindowByName('wxHtmlHelp')) {
$hframe is now an instance of Wx::HtmlHelpFrame.
Wx::HtmlHelpFrame is a subclass of Wx::Frame, which is a subclass of
Wx::Window.
However:
$hframe->SetAcceleratorTable
gives: Can't locate object method "SetAcceleratorTable" via package
"Wx::HtmlHelpFrame"
Puzzled,
-- Johan