Display correct page count in print dialog

This commit is contained in:
Simon Wells 2016-05-30 11:44:49 -04:00 committed by Chris Pavlina
parent 457b021101
commit 4b5a4c0d36
1 changed files with 1 additions and 0 deletions

View File

@ -499,6 +499,7 @@ void DIALOG_PRINT_USING_PRINTER::OnPrintButtonClick( wxCommandEvent& event )
}
wxPrintDialogData printDialogData( *s_PrintData );
printDialogData.SetMaxPage( s_Parameters.m_PageCount );
wxPrinter printer( &printDialogData );