Source

Kephra / lib / edpart.pl

Diff from to

File lib/edpart.pl

 use v5.12;
 use warnings;
+use FindBin;
+BEGIN { unshift @INC, $FindBin::Bin, '.' }
+
 
 package Kephra;
 BEGIN {
 
 package Kephra::App;
 use Wx;
+use Kephra::API;
 use Kephra::App::Bar::Document;
 use Kephra::App::Dialog;
 use Kephra::App::Editor;
 use Kephra::App::Splitter;
 use Kephra::App::Part::Editor;
 use Kephra::File;
-use Kephra::API;
+use Kephra::Log;
+
 use base qw(Wx::App);
 our $_ref;
 
 sub OnInit {
 	my $app  = $_ref = shift;
-	$Kephra::Log::test_mode = 1; 
+	Kephra::Log::off(); 
 	my $win = Kephra::App::Frame->new( 'DDD - double docbar demo' );
+	#my $win = Wx::Frame->new(undef, -1, '');
 	my $ep = Kephra::App::Part::Editor->new($win);
 	Kephra::File::new();