]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/splash.cpp
fixed serious bug in wxFont::operator== (ignored weight)
[wxWidgets.git] / src / generic / splash.cpp
index 938f6b78ba4c564c9b7f4b93c18af901f0b6ba07..2c0d403645b3919a923c816933797fd25b877049 100644 (file)
@@ -68,7 +68,11 @@ wxSplashScreen::wxSplashScreen(const wxBitmap& bitmap, long splashStyle, int mil
 
     Show(TRUE);
     m_window->SetFocus();
-    wxYield(); // Without this, you see a blank screen for an instant
+#ifdef __WXMSW__
+    Update(); // Without this, you see a blank screen for an instant
+#else
+    wxYieldIfNeeded(); // Should eliminate this
+#endif
 }
 
 wxSplashScreen::~wxSplashScreen()