use wxYield on mac to show the splashscreen

This commit is contained in:
YuSanka 2020-10-02 08:32:44 +02:00
parent 2bba0e3131
commit 1fb400a091

View File

@ -696,6 +696,7 @@ bool GUI_App::on_init_inner()
// create splash screen with updated bmp
scrn = new SplashScreen(bmp.IsOk() ? bmp : create_scaled_bitmap("prusa_slicer_logo", nullptr, 400),
wxSPLASH_CENTRE_ON_SCREEN | wxSPLASH_TIMEOUT, 4000, splashscreen_pos, is_decorated);
wxYield();
scrn->SetText(_L("Loading configuration..."));
}