]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/demo/wxPrintDialog.py
wxPython 2.0b9, first phase (win32)
[wxWidgets.git] / utils / wxPython / demo / wxPrintDialog.py
diff --git a/utils/wxPython/demo/wxPrintDialog.py b/utils/wxPython/demo/wxPrintDialog.py
new file mode 100644 (file)
index 0000000..50da750
--- /dev/null
@@ -0,0 +1,31 @@
+
+from wxPython.wx import *
+
+#---------------------------------------------------------------------------
+
+def runTest(frame, nb, log):
+    data = wxPrintDialogData()
+    data.EnablePrintToFile(true)
+    data.EnablePageNumbers(true)
+    data.EnableSelection(true)
+    dlg = wxPrintDialog(frame, data)
+    if dlg.ShowModal() == wxID_OK:
+        log.WriteText('\n')
+    dlg.Destroy()
+
+#---------------------------------------------------------------------------
+
+
+
+
+
+
+
+
+
+
+
+
+
+overview = """\
+"""