]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxPrintDialog.py
Added stub for wxIcon(const char **xpm)
[wxWidgets.git] / wxPython / demo / wxPrintDialog.py
index 50da750bd2f42b56cc1f547e6869729b66c6e0c4..183cbe801cac5ba3eda06bff8f8acf8663069ba1 100644 (file)
@@ -5,9 +5,9 @@ from wxPython.wx import *
 
 def runTest(frame, nb, log):
     data = wxPrintDialogData()
-    data.EnablePrintToFile(true)
-    data.EnablePageNumbers(true)
-    data.EnableSelection(true)
+    data.EnablePrintToFile(True)
+    data.EnablePageNumbers(True)
+    data.EnableSelection(True)
     dlg = wxPrintDialog(frame, data)
     if dlg.ShowModal() == wxID_OK:
         log.WriteText('\n')