]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/PrintFramework.py
WinCE patches from "Viktor Voroshylo" <viktor@voroshylo.com>
[wxWidgets.git] / wxPython / demo / PrintFramework.py
index e0fdd41aa9ae794c4bec74a9edab619c4cb41358..58e40f8dab6e8f78b0a41d2f46b68ba002ebd299 100644 (file)
@@ -80,7 +80,7 @@ class MyPrintout(wxPrintout):
         #-------------------------------------------
 
         self.canvas.DoDrawing(dc, True)
-        dc.DrawText("Page: %d" % page, marginX/2, maxY-marginY)
+        dc.DrawText("Page: %d" % page, (marginX/2, maxY-marginY))
 
         return True