From: Karsten Ballüder Date: Thu, 13 May 1999 15:09:59 +0000 (+0000) Subject: fixed wrong range for print progress dialog X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b778511b0c6c643ff390523878fbdfe9a39accab fixed wrong range for print progress dialog git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/printps.cpp b/src/generic/printps.cpp index 053b00b275..cc301b7aae 100644 --- a/src/generic/printps.cpp +++ b/src/generic/printps.cpp @@ -171,7 +171,7 @@ bool wxPostScriptPrinter::Print(wxWindow *parent, wxPrintout *printout, bool pro wxProgressDialog *progressDialog = new wxProgressDialog ( printout->GetTitle(), _("Printing..."), - maxPage-minPage, + maxPage-minPage+1, parent, /* disable parent only */ true, /* show abort button */ true);