Fix wxPython SpashScreen error at startup.
This commit is contained in:
parent
bf4bd3e07b
commit
92aa826bf3
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user