Hi, $logchain->DetachOldLog();
not wrapped in current release of Wx. I have added it to SVN. Regards Mark On 01/07/2011 23:11, herbert breunung wrote:
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