From b778511b0c6c643ff390523878fbdfe9a39accab Mon Sep 17 00:00:00 2001 From: =?utf8?q?Karsten=20Ball=C3=BCder?= Date: Thu, 13 May 1999 15:09:59 +0000 Subject: [PATCH] fixed wrong range for print progress dialog git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/printps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.45.2