Discussion:
3.0.0 Spalsh doesn't work in OnInit{}
Steve Cookson
2014-06-12 07:36:18 UTC
Permalink
Hi Guys,

In 2.8.11 this syntax sproduced a splash screen:

my $splash_bitmap = Wx::Bitmap->new($path."logo.jpg",
wxBITMAP_TYPE_JPEG);
Wx::SplashScreen->new($splash_bitmap,
wxSPLASH_CENTRE_ON_SCREEN|wxSPLASH_TIMEOUT, 300, undef, wxID_ANY);

But it no longer seems to work, apparently it needs a $App-wxYield,
which it didn't before.

I'm displaying the splash in OnInit{}, before the main loop starts,
which seems intuitive, but then $App is not defined and ->Yield is not
available, at least in wxPerl.

Any ideas?

Regards

Steve.
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Loading...