From 3f5b58762a69ea024ab2a1bb120b26b9fa40b2a4 Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Mon, 24 Sep 2007 01:35:47 +0000 Subject: [PATCH] Fix splash screen skipping so tip of the day isn't skipped on Mac. Originally committed to SVN as r1587. --- aegisub/frame_main.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/aegisub/frame_main.cpp b/aegisub/frame_main.cpp index f2eb3dede..4a93c1646 100644 --- a/aegisub/frame_main.cpp +++ b/aegisub/frame_main.cpp @@ -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