Fix splash screen skipping so tip of the day isn't skipped on Mac.

Originally committed to SVN as r1587.
This commit is contained in:
Niels Martin Hansen 2007-09-24 01:35:47 +00:00
parent 545f85ff92
commit 3f5b58762a

View file

@ -129,17 +129,20 @@ FrameMain::FrameMain (wxArrayString args)
// Splash screen
// It doesn't work properly on wxMac, and the jumping dock icon
// signals the same as the splash screen either way.
#if !_DEBUG && !__WXMAC__
#if !_DEBUG && !__WXMAC__
if (Options.AsBool(_T("Show Splash"))) {
SplashScreen *splash = new SplashScreen(this);
splash->Show(true);
splash->Update();
}
else {
else
#endif
{
#if !_DEBUG
// Show tip of the day
TipOfTheDay::Show(this);
#endif
}
#endif
wxSafeYield();
// Set autosave timer