DolphinWX: Use a regular wxMessageBox instead of a PanicAlert for non-panic errors.

This commit is contained in:
Lioncash
2014-07-24 21:46:46 -04:00
parent a723fd39df
commit 0ed29e1fac
18 changed files with 106 additions and 89 deletions

View File

@ -430,14 +430,14 @@ void DolphinApp::InitLanguageSupport()
if (!m_locale->IsOk())
{
PanicAlertT("Error loading selected language. Falling back to system default.");
wxMessageBox(_("Error loading selected language. Falling back to system default."), _("Error"));
delete m_locale;
m_locale = new wxLocale(wxLANGUAGE_DEFAULT);
}
}
else
{
PanicAlertT("The selected language is not supported by your system. Falling back to system default.");
wxMessageBox(_("The selected language is not supported by your system. Falling back to system default."), _("Error"));
m_locale = new wxLocale(wxLANGUAGE_DEFAULT);
}
}