def runTest(frame, nb, log):
data = wxPrintDialogData()
def runTest(frame, nb, log):
data = wxPrintDialogData()
- data.EnablePrintToFile(true)
- data.EnablePageNumbers(true)
- data.EnableSelection(true)
+
+ data.EnableSelection(True)
+ data.EnablePrintToFile(True)
+ data.EnablePageNumbers(True)
+ data.SetMinPage(1)
+ data.SetMaxPage(5)
+ data.SetAllPages(True)
+
dlg = wxPrintDialog(frame, data)
if dlg.ShowModal() == wxID_OK:
dlg = wxPrintDialog(frame, data)
if dlg.ShowModal() == wxID_OK: