]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/colourchooser/canvas.py
Added SetSashPosition
[wxWidgets.git] / wxPython / wx / lib / colourchooser / canvas.py
index d4162f1ca86f2bd058c66a706168670f84ba2e60..d505ac344b061785a7bb33178351c550bfae6b92 100644 (file)
@@ -113,7 +113,7 @@ class Canvas(wx.Window):
         """Performs the blit of the buffer contents on-screen."""
         width, height = self.buffer.GetSize()
         dc.BeginDrawing()
-        dc.Blit((0, 0), (width, height), self.buffer, (0, 0))
+        dc.Blit(0, 0, width, height, self.buffer, 0, 0)
         dc.EndDrawing()
 
     def GetBoundingRect(self):