Merge pull request #4499 from ligfx/msgalertmainthread

DolphinWX: pass wxMsgAlert to main thread on non-GTK too
This commit is contained in:
Matthew Parlane
2017-01-13 09:52:09 +13:00
committed by GitHub
3 changed files with 2 additions and 7 deletions

View File

@ -703,7 +703,6 @@ void CFrame::OnHostMessage(wxCommandEvent& event)
m_RenderParent->SetCursor(wxCURSOR_BLANK);
break;
#ifdef __WXGTK__
case IDM_PANIC:
{
wxString caption = event.GetString().BeforeFirst(':');
@ -713,7 +712,6 @@ void CFrame::OnHostMessage(wxCommandEvent& event)
panic_event.Set();
}
break;
#endif
case WM_USER_STOP:
DoStop();