+ wxString msg;
+ msg.Printf(_("Printing page %d..."), pn);
+ if(progressDialog->Update(pn-minPage, msg))
+ {
+ dc->StartPage();
+ printout->OnPrintPage(pn);
+ dc->EndPage();
+ }
+ else
+ {
+ sm_abortIt = true;
+ keepGoing = false; //FIXME: do we need both?
+ }