]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/demo/wxPrintDialog.py
2 from wxPython
.wx
import *
4 #---------------------------------------------------------------------------
6 def runTest(frame
, nb
, log
):
7 data
= wxPrintDialogData()
8 data
.EnablePrintToFile(True)
9 data
.EnablePageNumbers(True)
10 data
.EnableSelection(True)
11 dlg
= wxPrintDialog(frame
, data
)
12 if dlg
.ShowModal() == wxID_OK
:
16 #---------------------------------------------------------------------------