chiark / gitweb /
Fix the splashscreen overlaying on the first run wizard on mac.
[cura.git] / Cura / gui / splashScreen.py
index ee9a94559c19471368a5b69ce3d36883ec5f7e7d..cfa4792b8a0fcb27a8781e82226c508ecfcfed96 100644 (file)
@@ -17,7 +17,7 @@ class splashScreen(wx.SplashScreen):
                wx.CallAfter(self.DoCallback)
        
        def DoCallback(self):
-               self.callback()
+               self.callback(self)
                self.Destroy()
 
 def showSplash(callback):
@@ -25,7 +25,7 @@ def showSplash(callback):
        splashScreen(callback)
        app.MainLoop()
 
-def testCallback():
+def testCallback(splashscreen):
        print "Callback!"
        import time
        time.sleep(2)