]> git.saurik.com Git - wxWidgets.git/blob - wxPython/demo/wxPrintDialog.py
Bitmap updates
[wxWidgets.git] / wxPython / demo / wxPrintDialog.py
1
2 from wxPython.wx import *
3
4 #---------------------------------------------------------------------------
5
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:
13 log.WriteText('\n')
14 dlg.Destroy()
15
16 #---------------------------------------------------------------------------
17
18
19
20
21
22
23
24
25
26
27
28
29
30 overview = """\
31 """