problem solved: PAR, pp, Wx, window immediately closes

fireartist on 2005-08-19T18:56:48

This is because PAR seems to fork a new child process, then immediately close. This causes the unless (caller) condition in the app.pl file to always be false.

in the main app.pl file, change:

unless(caller){
	my $app = myApp->new();
	$app->MainLoop();
}

to this:

my $app = myApp->new();
$app->MainLoop();

keywords: PAR, pp, WxGlade, Wx, wxperl, perl, windows, win32