From 92aa826bf354ed1a0015a548ea4e1fc7816e777c Mon Sep 17 00:00:00 2001 From: Thomas Fleming Date: Fri, 9 Nov 2018 20:58:35 +0000 Subject: [PATCH] Fix wxPython SpashScreen error at startup. --- gui/scyther-gui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/scyther-gui.py b/gui/scyther-gui.py index 2c36c03..5fa0c4a 100755 --- a/gui/scyther-gui.py +++ b/gui/scyther-gui.py @@ -22,7 +22,7 @@ #--------------------------------------------------------------------------- # Try to get wxPython try: - import wx + import wx.adv except ImportError,err: from Scyther import Misc @@ -139,7 +139,7 @@ def parseArgs(): #--------------------------------------------------------------------------- -class MySplashScreen(wx.SplashScreen): +class MySplashScreen(wx.adv.SplashScreen): def __init__(self,basedir): path = os.path.join(basedir,"Images") image = os.path.join(path,"scyther-splash.png")