mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
DolphinWX: Use a regular wxMessageBox instead of a PanicAlert for non-panic errors.
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user