Skip Menu |

This queue is for tickets about the Wx CPAN distribution.

Report information
The Basics
Id: 68659
Status: new
Priority: 0/
Queue: Wx

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.99
Fixed in: (no value)



Subject: Wx::App->new should warn/carp if called more than once
Like this $ perl -Mblib -MWx -le " Wx::SimpleApp->new for 1 .. 6 " Wx::App->new called more than once, returning reference to existing app, there can only be one wxApp at -e line 1 Wx::App->new called more than once, returning reference to existing app, there can only be one wxApp at -e line 1 Wx::App->new called more than once, returning reference to existing app, there can only be one wxApp at -e line 1 Wx::App->new called more than once, returning reference to existing app, there can only be one wxApp at -e line 1 Wx::App->new called more than once, returning reference to existing app, there can only be one wxApp at -e line 1 Its a simple edit to lib/Wx/App.pm $this = $Wx::wxTheApp; Carp::carp("Wx::App->new called more than once, returning reference to existing app, there can only be one wxApp");