mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-09-11 21:06:22 -05: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:
@@ -707,8 +707,9 @@ void CFrame::OnHostMessage(wxCommandEvent& event)
|
||||
{
|
||||
wxString caption = event.GetString().BeforeFirst(':');
|
||||
wxString text = event.GetString().AfterFirst(':');
|
||||
bPanicResult = (wxYES == wxMessageBox(text, caption, event.GetInt() ? wxYES_NO : wxOK,
|
||||
wxWindow::FindFocus()));
|
||||
bPanicResult =
|
||||
(wxYES == wxMessageBox(text, caption, wxSTAY_ON_TOP | (event.GetInt() ? wxYES_NO : wxOK),
|
||||
wxWindow::FindFocus()));
|
||||
panic_event.Set();
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user