summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Frame.cpp
diff options
context:
space:
mode:
authorMatthew Parlane <parlane@gmail.com>2017-01-13 11:52:59 +1300
committerGitHub <noreply@github.com>2017-01-13 11:52:59 +1300
commit1debc8eea192dda5907d811821ee8933fb726e5c (patch)
treebcc7c754fbdeeb0b501f18bfddcd04d3c1ce2ea6 /Source/Core/DolphinWX/Frame.cpp
parent5790f15be8e653561b4da2055432c1720c4c4ffc (diff)
parent5fd486014b4ebc55446305e20f85e7a9e08d5a13 (diff)
Merge pull request #4640 from leoetlino/panic-alerts-on-top
DolphinWX: Always keep panic alerts on top
Diffstat (limited to 'Source/Core/DolphinWX/Frame.cpp')
-rw-r--r--Source/Core/DolphinWX/Frame.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp
index daa7f7b5d5..8b688f7e90 100644
--- a/Source/Core/DolphinWX/Frame.cpp
+++ b/Source/Core/DolphinWX/Frame.cpp
@@ -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;