mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00: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:
parent
5790f15be8
commit
5fd486014b
2 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue