Re: wxEuphoria -- splash screen?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Matt Lewis wrote:
> 
> Jerry Story wrote:
> > 
> > I'm having a hard time getting the splash screen demo to work for Linux.
> > 
> 
> Oops, sorry 'bout that, I managed to screw up the wrapper.  I named the 
> function incorrectly, and didn't register it with create_func().  Here's 
> how it should look (actually tested it on Linux this time...):

[...]

That's an improvement. Now it makes a window; previously it didn't.  But no
picture and these error messages:

[quote]
Gdk-CRITICAL **: file gdkgc.c: line 689 (gdk_gc_set_clip_rectangle): assertion
'gc != NULL' failed.

Gdk-CRITICAL **: file gdkdraw.c: line 90 (gdk_draw_rectangle): assertion 'gc !=
NULL' failed.

Gdk-CRITICAL **: file gdkgc.c: line 689 (gdk_gc_set_clip_rectangle): assertion
'gc != NULL' failed.
[/quote]

It is possible and perhaps probable that I didn't install wxSplashScreen.e
correctly from the message, because I find that a bit confusing.

Commenting out this line in the demo:

splash = create( wxSplashScreen, { bmp,
 wxSPLASH_CENTRE_ON_SCREEN + wxSPLASH_TIMEOUT, 2000, main })

stops the error messages.

There is a bmp file in the directory that the demo is in, and the bmp is named
correctly in the demo.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu