]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/demo/wxPrintDialog.py
wxPython 2.1b1: Very minor changes needed for wxGTK
[wxWidgets.git] / utils / wxPython / demo / wxPrintDialog.py
CommitLineData
cf694132
RD
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"""