Some demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -8,9 +8,12 @@ def runTest(frame, nb, log):
|
||||
data.EnablePrintToFile(True)
|
||||
data.EnablePageNumbers(True)
|
||||
data.EnableSelection(True)
|
||||
data.SetMinPage(1)
|
||||
data.SetMaxPage(5)
|
||||
dlg = wxPrintDialog(frame, data)
|
||||
if dlg.ShowModal() == wxID_OK:
|
||||
log.WriteText('\n')
|
||||
data = dlg.GetPrintDialogData()
|
||||
log.WriteText('GetAllPages: %d\n' % data.GetAllPages())
|
||||
dlg.Destroy()
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user