Code: Select all
icon ICON "wxVertigo.ico"
#include "wx/msw/wx.rc"
Splash BMP "Splash.bmp"
Code: Select all
bool splash = true;
if(splash){
wxBitmap *bitmap = new wxBitmap("Splash.bmp");
wxSplashScreen *splash = new wxSplashScreen(*bitmap,
wxSPLASH_CENTRE_ON_SCREEN|wxSPLASH_TIMEOUT,
1000, NULL, -1, wxDefaultPosition, wxDefaultSize,
wxSIMPLE_BORDER|wxSTAY_ON_TOP);
wxMilliSleep(1000);}
Code: Select all
Can't load bitmap 'Splash.bmp' from resources! Check .rc file.
Code: Select all
wxBitmap *bitmap = new wxBitmap("Splash");
||
wxBitmap *bitmap = new wxBitmap(Splash); <-- Compile error
||
wxBitmap *bitmap = new wxBitmap(Splash.bmp); <-- Compile error
It's probably something very simple and stupid on my part that I need to fix but I'm so lost its unfortunate.
Any and all help that can be given in any form will be appreciated very much!
- In advance, Thank You!