mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
DolphinWX: Always keep panic alerts on top
This should prevent silly things like panic alerts opening *behind* the render window and thus being impossible to see.
This commit is contained in:
@ -360,7 +360,8 @@ bool wxMsgAlert(const char* caption, const char* text, bool yes_no, int /*Style*
|
||||
npd->AppendChat("/!\\ " + std::string{text});
|
||||
return true;
|
||||
}
|
||||
return wxYES == wxMessageBox(StrToWxStr(text), StrToWxStr(caption), (yes_no) ? wxYES_NO : wxOK,
|
||||
return wxYES == wxMessageBox(StrToWxStr(text), StrToWxStr(caption),
|
||||
wxSTAY_ON_TOP | ((yes_no) ? wxYES_NO : wxOK),
|
||||
wxWindow::FindFocus());
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user