def __init__(self, parent):
logo = wx.Image(os.path.dirname(__file__) + '/images/CEBL3_splash.png', wx.BITMAP_TYPE_PNG).ConvertToBitmap()
#wx.adv.SplashScreen.__init__(self, # wxpython3
wx.SplashScreen.__init__(self,
parent=parent, milliseconds=2000, bitmap=logo,
#splashStyle=wx.adv.SPLASH_CENTER_ON_SCREEN | wx.adv.SPLASH_TIMEOUT) # wxpython3
splashStyle=wx.SPLASH_CENTER_ON_SCREEN | wx.SPLASH_TIMEOUT)
评论列表
文章目录