]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/splashscreen.py
Fix "warning: operation on 'y' may be undefined".
[wxWidgets.git] / wxPython / wx / lib / splashscreen.py
index d616691e1fdd3b8988bbb457028a5ff8d10f5805..e23dc1b5b7fa94d60c5db473deb3e548f29b01f7 100644 (file)
@@ -93,7 +93,7 @@ class SplashScreen(wx.Frame):
 
     def OnPaint(self, event):
         dc = wx.PaintDC(self)
 
     def OnPaint(self, event):
         dc = wx.PaintDC(self)
-        dc.DrawBitmap(self.bitmap, (0,0), False)
+        dc.DrawBitmap(self.bitmap, 0,0, False)
 
     def OnEraseBG(self, event):
         pass
 
     def OnEraseBG(self, event):
         pass