From ba513ea45d669c338d9faef20bab58ea1fc0a906 Mon Sep 17 00:00:00 2001 From: Cas Cremers Date: Mon, 14 Jul 2014 16:56:25 +0100 Subject: [PATCH] Fixing small wxPython error. --- gui/Gui/Error.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/Gui/Error.py b/gui/Gui/Error.py index 6433cf2..b6b2905 100644 --- a/gui/Gui/Error.py +++ b/gui/Gui/Error.py @@ -41,7 +41,7 @@ class NoAttackError(Exception): def ShowAndReturn(text): title = "Error" - dlg = wx.MessageDialog(None, text, title, wx.ID_OK | wx.ICON_ERROR) + dlg = wx.MessageDialog(None, text, title, wx.OK | wx.ICON_ERROR) result = dlg.ShowModal() dlg.Destroy()