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:
Michael Maltese
2016-12-06 16:39:04 -08:00
parent 389f8297c3
commit 443815df16
3 changed files with 2 additions and 7 deletions

View File

@ -116,9 +116,10 @@ public:
const CGameListCtrl* GetGameListCtrl() const;
wxMenuBar* GetMenuBar() const override;
#ifdef __WXGTK__
Common::Event panic_event;
bool bPanicResult;
#ifdef __WXGTK__
std::recursive_mutex keystate_lock;
#endif