]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/demo/wxPrintDialog.py
   2 from wxPython
.wx 
import * 
   4 #--------------------------------------------------------------------------- 
   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
: 
  16 #---------------------------------------------------------------------------