X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4b73b1b8e585418459362c9bf9173aa21da8c41..b6b4695492baff990f5cb4c50522fd6a72c2773d:/wxPython/wx/lib/colourchooser/canvas.py diff --git a/wxPython/wx/lib/colourchooser/canvas.py b/wxPython/wx/lib/colourchooser/canvas.py index d4162f1ca8..d505ac344b 100644 --- a/wxPython/wx/lib/colourchooser/canvas.py +++ b/wxPython/wx/lib/colourchooser/canvas.py @@ -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):