Small changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2001-09-06 12:09:24 +00:00
parent 97f1fb1987
commit 8d07927991
5 changed files with 41 additions and 9 deletions

View 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()