mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 17:18:53 +00:00
DolphinWX: pass wxMsgAlert to main thread on non-GTK too
Fixes an issue on macOS where wxMessageBox always returns wxCANCEL when not called from main thread.
This commit is contained in:
parent
389f8297c3
commit
443815df16
3 changed files with 2 additions and 7 deletions
|
@ -701,7 +701,6 @@ void CFrame::OnHostMessage(wxCommandEvent& event)
|
|||
m_RenderParent->SetCursor(wxCURSOR_BLANK);
|
||||
break;
|
||||
|
||||
#ifdef __WXGTK__
|
||||
case IDM_PANIC:
|
||||
{
|
||||
wxString caption = event.GetString().BeforeFirst(':');
|
||||
|
@ -711,7 +710,6 @@ void CFrame::OnHostMessage(wxCommandEvent& event)
|
|||
panic_event.Set();
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
|
||||
case WM_USER_STOP:
|
||||
DoStop();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue