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()