X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4b73b1b8e585418459362c9bf9173aa21da8c41..25b3661bd4cb44304418b93c0dee1d0dfb99765c:/wxPython/wx/lib/colourchooser/canvas.py?ds=sidebyside 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):