]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/colourchooser/canvas.py
Insure suitable choices of path/drive separator on OS/2.
[wxWidgets.git] / wxPython / wx / lib / colourchooser / canvas.py
index 730a6fb6295e216abb856923f28239b09afe4107..97712542a8a7ab09f51525ba8cf28d91ca343023 100644 (file)
@@ -103,7 +103,7 @@ class Canvas(wxWindow):
         """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):