hai,

has this anyone used this ebfore?

i just

        my $log = Wx::LogTextCtrl->new( $txt[3] );
        Wx::Log::SetActiveTarget( $log );
        open my $FH, '>', 'log.txt';
        my $chain = Wx::LogChain->new( Wx::LogStderr->new( $FH ) );
        ...
        Wx::LogWarning( "Warn: " );
        $chain->DetachOldLog();

and now i get

Can't locate object method "DetachOldLog" via package "Wx::LogChain" at log.pl
line 40.

which shouldnt be.

its under ubuntu 11.4 x64

best lichtkind

Reply via email to