- data = wxPageSetupDialogData()
- data.SetMarginTopLeft(wxPoint(50,50))
- data.SetMarginBottomRight(wxPoint(50,50))
- dlg = wxPageSetupDialog(frame, data)
- if dlg.ShowModal() == wxID_OK:
+ data = wx.PageSetupDialogData()
+ data.SetMarginTopLeft( (15, 15) )
+ data.SetMarginBottomRight( (15, 15) )
+ #data.SetDefaultMinMargins(True)
+ data.SetPaperId(wx.PAPER_LETTER)
+
+ dlg = wx.PageSetupDialog(frame, data)
+
+ if dlg.ShowModal() == wx.ID_OK: