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:
Paul Cornett 2007-01-15 02:23:13 +00:00
parent 09a0945522
commit a1b289f1f9

View File

@ -717,7 +717,8 @@ bool wxGnomePrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt )
{
gs_lgp->gnome_print_job_close( job );
g_object_unref (job);
sm_lastError = wxPRINTER_ERROR;
if (sm_lastError != wxPRINTER_CANCELLED)
sm_lastError = wxPRINTER_ERROR;
return false;
}