summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/PatchAddEdit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinWX/PatchAddEdit.cpp')
-rw-r--r--Source/Core/DolphinWX/PatchAddEdit.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/PatchAddEdit.cpp b/Source/Core/DolphinWX/PatchAddEdit.cpp
index 30242b6b0f..f35c16d71d 100644
--- a/Source/Core/DolphinWX/PatchAddEdit.cpp
+++ b/Source/Core/DolphinWX/PatchAddEdit.cpp
@@ -12,6 +12,7 @@
#include <wx/event.h>
#include <wx/gbsizer.h>
#include <wx/gdicmn.h>
+#include <wx/msgdlg.h>
#include <wx/radiobox.h>
#include <wx/sizer.h>
#include <wx/spinbutt.h>
@@ -233,7 +234,7 @@ bool CPatchAddEdit::UpdateTempEntryData(std::vector<PatchEngine::PatchEntry>::it
if (!parsed_ok)
{
- PanicAlertT("Unable to create patch from given values.\nEntry not modified.");
+ wxMessageBox(_("Unable to create patch from given values.\nEntry not modified."), _("Error"));
}
return parsed_ok;