Display correct page count in print dialog
This commit is contained in:
parent
457b021101
commit
4b5a4c0d36
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue