Update print dialog data after printing successfully
This is necessary in order to get the information entered by the user in the dialog and was already done in PrintDialog(), but not Print() itself -- now do it there as well.
This commit is contained in:
@@ -992,6 +992,8 @@ bool wxGtkPrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt )
|
||||
return false;
|
||||
}
|
||||
|
||||
m_printDialogData = dialog.GetPrintDialogData();
|
||||
|
||||
sm_lastError = wxPRINTER_NO_ERROR;
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user