I''ve got the same error and resolved using SPLASH_NO_TIMEOUT, but i
don''t
know why :-/
cheers,
bio.
On Mon, Feb 2, 2009 at 9:16 PM, Mahlon Smith <lists at ruby-forum.com>
wrote:
>
> Hey all. I''m using Wx 1.9.9 on ruby 1.8.6. I can''t seem
to instantiate
> a SplashScreen without causing a SystemStackError -- am I doing
> something wrong?
>
> This code is in my App''s on_init() method:
>
> splash_img = Wx::Bitmap.new( ''/tmp/image.png'',
Wx::BITMAP_TYPE_PNG )
> Wx::SplashScreen.new( splash_img,
> Wx::SPLASH_CENTRE_ON_SCREEN | Wx::SPLASH_TIMEOUT,
> 3000, nil, -1 )
>
> ... which produces the following, after the splash times out.
>
> ./test:138:in `show'': stack level too deep (SystemStackError)
> from ./test:138:in `main_loop''
> from ./test:138
>
>
> Thanks for any insight.
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> wxruby-users mailing list
> wxruby-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wxruby-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/wxruby-users/attachments/20090202/2d58db23/attachment.html>