]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/PrintFramework.py
Added wxRTTI for the new wxVScrolledWindow, wxVListBox, and
[wxWidgets.git] / wxPython / demo / PrintFramework.py
index 36c3ea5a2b5c4b71a57e3a44456c6b50212cc600..d7a78e1dd440036bf986329851b44d799137d6f1 100644 (file)
@@ -79,7 +79,7 @@ class MyPrintout(wxPrintout):
 
         #-------------------------------------------
 
-        self.canvas.DoDrawing(dc)
+        self.canvas.DoDrawing(dc, True)
         dc.DrawText("Page: %d" % page, marginX/2, maxY-marginY)
 
         return True
@@ -176,3 +176,12 @@ def runTest(frame, nb, log):
 overview = """\
 """
 
+
+
+
+
+if __name__ == '__main__':
+    import sys,os
+    import run
+    run.main(['', os.path.basename(sys.argv[0])])
+