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:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user