Page 1 of 1

wxSplashScreen text

Posted: Wed Jun 17, 2009 2:07 pm
by spectrum
hi all,

i am looking for some help to get working what i think should be intended as a very common problem:
In a splash screen, often, the version string for the software version need to be showed.

So i tried a wxStaticText, but i cannot get the trasparent background, so i tried to connect OnPaint, to use DrawText, but this seems is not getting connected.

Any help is really appreciated.

Posted: Wed Jun 17, 2009 2:19 pm
by doublemax
i just draw the text onto the bitmap before i create the splash screen with it.

Posted: Thu Jun 18, 2009 6:29 am
by spectrum
many thanks !

Re: wxSplashScreen text

Posted: Sun Nov 04, 2012 2:09 pm
by ET3D
Having struggled with this issue, I found out that using "wxPaintDC pdc(GetSplashWindow());" (instead of passing 'this') in OnPaint works well.