X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/299647acac7960652aadb008775429c1f8ea9b8d..68ff6404bb8ea57371214a6c8a416cf8a4a31453:/wxPython/demo/PageSetupDialog.py diff --git a/wxPython/demo/PageSetupDialog.py b/wxPython/demo/PageSetupDialog.py index a4e7e4e215..bae4d0d81e 100644 --- a/wxPython/demo/PageSetupDialog.py +++ b/wxPython/demo/PageSetupDialog.py @@ -1,7 +1,3 @@ -# 11/20/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for wx namespace -# import wx @@ -37,12 +33,12 @@ The page setup dialog contains controls for paper size (A4, A5 etc.), orientatio (landscape or portrait), and controls for setting left, top, right and bottom margin sizes in millimetres. -When the dialog has been closed, you need to query the wxPageSetupDialogData object +When the dialog has been closed, you need to query the wx.PageSetupDialogData object associated with the dialog. Note that the OK and Cancel buttons do not destroy the dialog; this must be done by the application. As with other dialogs, do not destroy the dialog until you are done -with the data, and, conversely, do not use the wxPageSetupDialogData after the +with the data, and, conversely, do not use the wx.PageSetupDialogData after the dialog is destroyed. @@ -52,4 +48,4 @@ dialog is destroyed. 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:])