Fixing small wxPython error.

This commit is contained in:
Cas Cremers 2014-07-14 16:56:25 +01:00
parent 6374683d17
commit ba513ea45d

View File

@ -41,7 +41,7 @@ class NoAttackError(Exception):
def ShowAndReturn(text): def ShowAndReturn(text):
title = "Error" 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() result = dlg.ShowModal()
dlg.Destroy() dlg.Destroy()