X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/299647acac7960652aadb008775429c1f8ea9b8d..2706d2fedee4cfc34ba0c838bd157bc0d9718ce1:/wxPython/demo/PrintDialog.py diff --git a/wxPython/demo/PrintDialog.py b/wxPython/demo/PrintDialog.py index 981f0ea965..4e602f2bda 100644 --- a/wxPython/demo/PrintDialog.py +++ b/wxPython/demo/PrintDialog.py @@ -1,7 +1,3 @@ -# 11/20/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for wx namespace -# import wx #--------------------------------------------------------------------------- @@ -29,9 +25,9 @@ def runTest(frame, nb, log): overview = """\ This class represents the print and print setup common dialogs. You may obtain -a wxPrinterDC device context from a successfully dismissed print dialog. +a wx.PrinterDC device context from a successfully dismissed print dialog. -User information is stored in a wxPrintDialogData object that is passed to the +User information is stored in a wx.PrintDialogData object that is passed to the dialog at creation time, and it is filled in by the user. As with other dialogs, do not use this data once the dialog is dismissed, and do not destroy the dialog until you have everything you need from it. @@ -42,4 +38,4 @@ until you have everything you need from it. if __name__ == '__main__': import sys,os import run - run.main(['', os.path.basename(sys.argv[0])]) + run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])