- Correction to previous commit: added required files.

This commit is contained in:
ccremers
2006-12-14 14:08:08 +00:00
parent 4e2b7c405b
commit 7eb354d22c
2 changed files with 70 additions and 0 deletions

21
gui/Gui/Error.py Normal file
View File

@@ -0,0 +1,21 @@
#!/usr/bin/python
#---------------------------------------------------------------------------
""" Import externals """
import wx
import sys
#---------------------------------------------------------------------------
""" Import scyther-gui components """
#---------------------------------------------------------------------------
def ShowAndExit(text):
title = "Error"
dlg = wx.MessageDialog(None, text, title, wx.ID_OK | wx.ICON_ERROR)
result = dlg.ShowModal()
dlg.Destroy()
sys.exit()