From e0eeb9b3e7620893d174267dbd2caa6f57ebeecb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karsten=20Ball=C3=BCder?= Date: Tue, 18 May 1999 16:29:19 +0000 Subject: [PATCH] minor progress bar fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2501 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 599715179f..56f95f3067 100644 --- a/src/generic/printps.cpp +++ b/src/generic/printps.cpp @@ -168,7 +168,7 @@ bool wxPostScriptPrinter::Print(wxWindow *parent, wxPrintout *printout, bool pro wxBeginBusyCursor(); int - pagesPerCopy = maxPage-minPage+1, + pagesPerCopy = m_printDialogData.GetToPage()-m_printDialogData.GetFromPage()+1, totalPages = pagesPerCopy * m_printDialogData.GetNoCopies(), printedPages = 0; // Open the progress bar dialog