X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..bfdc04a9bb95e6865570d59192718052b6229221:/wxPython/demo/wxPageSetupDialog.py diff --git a/wxPython/demo/wxPageSetupDialog.py b/wxPython/demo/wxPageSetupDialog.py index 61ae29290d..692d21973d 100644 --- a/wxPython/demo/wxPageSetupDialog.py +++ b/wxPython/demo/wxPageSetupDialog.py @@ -5,8 +5,11 @@ from wxPython.wx import * def runTest(frame, nb, log): data = wxPageSetupDialogData() - data.SetMarginTopLeft(wxPoint(50,50)) - data.SetMarginBottomRight(wxPoint(50,50)) + data.SetMarginTopLeft( (15, 15) ) + data.SetMarginBottomRight( (15, 15) ) + #data.SetDefaultMinMargins(True) + data.SetPaperId(wxPAPER_LETTER) + dlg = wxPageSetupDialog(frame, data) if dlg.ShowModal() == wxID_OK: data = dlg.GetPageSetupData() @@ -21,13 +24,15 @@ def runTest(frame, nb, log): +overview = """\ +""" - - -overview = """\ -""" +if __name__ == '__main__': + import sys,os + import run + run.main(['', os.path.basename(sys.argv[0])])