mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-24 03:11:09 +00:00
DolphinWX: Use a regular wxMessageBox instead of a PanicAlert for non-panic errors.
This commit is contained in:
parent
a723fd39df
commit
0ed29e1fac
18 changed files with 106 additions and 89 deletions
|
@ -8,6 +8,7 @@
|
|||
#include <wx/dialog.h>
|
||||
#include <wx/event.h>
|
||||
#include <wx/gdicmn.h>
|
||||
#include <wx/msgdlg.h>
|
||||
#include <wx/sizer.h>
|
||||
#include <wx/string.h>
|
||||
#include <wx/textctrl.h>
|
||||
|
@ -50,7 +51,7 @@ void BreakPointDlg::OnOK(wxCommandEvent& event)
|
|||
}
|
||||
else
|
||||
{
|
||||
PanicAlertT("The address %s is invalid.", WxStrToStr(AddressString).c_str());
|
||||
WxUtils::ShowErrorDialog(wxString::Format(_("The address %s is invalid."), WxStrToStr(AddressString).c_str()));
|
||||
}
|
||||
|
||||
event.Skip();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue