Running the example from Chapter 17 in the wPIA book. It works OK until I
call OnPrintSetup(). This generates an error and segfault:
File "printing.py", line 179, in OnPrintSetup
dlg.GetPrintDialogData().SetSetupDialog(True)
AttributeError: 'PrintDialogData' object has no attribute 'SetSetupDialog'
Segmentation fault
There does not appear to be a GetPrintDialogData() class in the new API
docs, although there are other Print and Preview classes there. Has this
been fixed or have I missed something entirely?
Rich
···
--
Richard B. Shepard, Ph.D. | The Environmental Permitting
Applied Ecosystem Services, Inc. | Accelerator(TM)
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863
Running the example from Chapter 17 in the wPIA book. It works OK until I
call OnPrintSetup(). This generates an error and segfault:
File "printing.py", line 179, in OnPrintSetup
dlg.GetPrintDialogData().SetSetupDialog(True)
AttributeError: 'PrintDialogData' object has no attribute 'SetSetupDialog'
Segmentation fault
There does not appear to be a GetPrintDialogData() class in the new API
docs, although there are other Print and Preview classes there. Has this
been fixed or have I missed something entirely?
--
Richard B. Shepard, Ph.D. | The Environmental Permitting
Applied Ecosystem Services, Inc. | Accelerator(TM)
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863