X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/463c4d7193481ac27626b282ccf0ac178f029abd..de5dc0febdb3e932e682cfa91a1f639aa3e284fb:/src/gtk1/gnome/gprint.cpp diff --git a/src/gtk1/gnome/gprint.cpp b/src/gtk1/gnome/gprint.cpp index 9be9ac7d62..45e9735ad3 100644 --- a/src/gtk1/gnome/gprint.cpp +++ b/src/gtk1/gnome/gprint.cpp @@ -795,7 +795,7 @@ wxDC* wxGnomePrinter::PrintDialog( wxWindow *parent ) int ret = dialog.ShowModal(); if (ret == wxID_CANCEL) { - sm_lastError = wxPRINTER_ERROR; + sm_lastError = wxPRINTER_CANCELLED; return NULL; }