Reputation: 11746
When I run my wxperl app from the command line it works great but after using the PerlApp from: http://www.activestate.com/perl-dev-kit to create an executable I'm seeing the following debug alert (shown below)
I've tried adding Locale for myFrame like so but I'm still missing something
use Wx::Locale qw(:default);
Any thoughts?
Thanks, -Paul
Upvotes: 0
Views: 80
Reputation: 11746
Here is what I was missing:
use Wx::Locale qw(:default);
Wx::Locale->new( &Wx::wxLANGUAGE_DEFAULT );
use POSIX qw( setlocale LC_ALL );
setlocale(LC_ALL, 'C');
Setting the locale to LC_ALL, 'C' resolved my issue.
-Paul
Upvotes: 0