fixed wrong range for print progress dialog

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Karsten Ballüder
1999-05-13 15:09:59 +00:00
parent 47ff78ff4f
commit b778511b0c

View File

@@ -171,7 +171,7 @@ bool wxPostScriptPrinter::Print(wxWindow *parent, wxPrintout *printout, bool pro
wxProgressDialog *progressDialog = new wxProgressDialog ( wxProgressDialog *progressDialog = new wxProgressDialog (
printout->GetTitle(), printout->GetTitle(),
_("Printing..."), _("Printing..."),
maxPage-minPage, maxPage-minPage+1,
parent, parent,
/* disable parent only */ true, /* disable parent only */ true,
/* show abort button */ true); /* show abort button */ true);