Commit 9d10a2ba9330965495673a1838e11bbd20af5ba9
1 parent
cd89a218
Exists in
master
and in
3 other branches
SW1 Update
Dissable splash screen.
Showing
1 changed file
with
14 additions
and
14 deletions
Show diff stats
GUI/SW1/SRC/SW1_GUIApp.cpp
@@ -165,20 +165,20 @@ bool SW1_GUIApp::OnInit() | @@ -165,20 +165,20 @@ bool SW1_GUIApp::OnInit() | ||
165 | } | 165 | } |
166 | 166 | ||
167 | // Display splash screen | 167 | // Display splash screen |
168 | - wxBitmap splashimage; | ||
169 | - | ||
170 | - wxImage::AddHandler(new wxPNGHandler); | ||
171 | - | ||
172 | - splashimage.LoadFile(_T("resources/Sacamos_About.png"), wxBITMAP_TYPE_PNG); | ||
173 | - | ||
174 | - wxSplashScreen *splashscrn = new wxSplashScreen(splashimage, | ||
175 | - wxSPLASH_CENTRE_ON_SCREEN|wxSPLASH_TIMEOUT, | ||
176 | - 0, NULL, -1, wxDefaultPosition, wxDefaultSize, | ||
177 | - wxSIMPLE_BORDER|wxSTAY_ON_TOP); | ||
178 | - | ||
179 | - wxYield(); | ||
180 | - wxSleep(2); | ||
181 | - splashscrn->Destroy(); | 168 | +// wxBitmap splashimage; |
169 | +// | ||
170 | +// wxImage::AddHandler(new wxPNGHandler); | ||
171 | +// | ||
172 | +// splashimage.LoadFile(_T("resources/Sacamos_About.png"), wxBITMAP_TYPE_PNG); | ||
173 | +// | ||
174 | +// wxSplashScreen *splashscrn = new wxSplashScreen(splashimage, | ||
175 | +// wxSPLASH_CENTRE_ON_SCREEN|wxSPLASH_TIMEOUT, | ||
176 | +// 0, NULL, -1, wxDefaultPosition, wxDefaultSize, | ||
177 | +// wxSIMPLE_BORDER|wxSTAY_ON_TOP); | ||
178 | +// | ||
179 | +// wxYield(); | ||
180 | +// wxSleep(2); | ||
181 | +// splashscrn->Destroy(); | ||
182 | 182 | ||
183 | //(*AppInitialize | 183 | //(*AppInitialize |
184 | bool wxsOK = true; | 184 | bool wxsOK = true; |