#include "wx/defs.h"
+#if wxUSE_PRINTING_ARCHITECTURE
+
#ifndef WX_PRECOMP
#include "wx/utils.h"
#include "wx/dc.h"
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
printout->GetTitle(),
_("Printing..."),
totalPages,
- parent,
- /* disable parent only */ true,
- /* show abort button */ true);
+ parent );
printout->OnBeginPrinting();
}
}
+#endif