]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/ShapedWindow.py
update from herbert breunung
[wxWidgets.git] / wxPython / demo / ShapedWindow.py
index 98d969a2e2d80569a4706cb86d95cf709e21a2cb..277f07619d8849d7da7512f55c133d1bb5b425c1 100644 (file)
@@ -44,7 +44,7 @@ class TestFrame(wx.Frame):
             self.SetWindowShape()
 
         dc = wx.ClientDC(self)
-        dc.DrawBitmap(self.bmp, (0,0), True)
+        dc.DrawBitmap(self.bmp, 0,0, True)
 
 
     def SetWindowShape(self, *evt):
@@ -63,7 +63,7 @@ class TestFrame(wx.Frame):
 
     def OnPaint(self, evt):
         dc = wx.PaintDC(self)
-        dc.DrawBitmap(self.bmp, (0,0), True)
+        dc.DrawBitmap(self.bmp, 0,0, True)
 
     def OnExit(self, evt):
         self.Close()