]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/demo/wxPrintDialog.py
Allow building with wxUSE_CALENDARCTRL=0
[wxWidgets.git] / wxPython / demo / wxPrintDialog.py
... / ...
CommitLineData
1
2from wxPython.wx import *
3
4#---------------------------------------------------------------------------
5
6def 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
30overview = """\
31"""