don't change wxPRINTER_CANCELLED to wxPRINTER_ERROR, bug #1635284
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -717,6 +717,7 @@ bool wxGnomePrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt )
|
|||||||
{
|
{
|
||||||
gs_lgp->gnome_print_job_close( job );
|
gs_lgp->gnome_print_job_close( job );
|
||||||
g_object_unref (job);
|
g_object_unref (job);
|
||||||
|
if (sm_lastError != wxPRINTER_CANCELLED)
|
||||||
sm_lastError = wxPRINTER_ERROR;
|
sm_lastError = wxPRINTER_ERROR;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user