X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffdaed2fc3b8b30bdea60dd27ed839c0957891b4..4d19d979165dfab92cccd656b9f75c2d516aa21b:/src/generic/printps.cpp diff --git a/src/generic/printps.cpp b/src/generic/printps.cpp index be4cbae7b6..3317b1df0a 100644 --- a/src/generic/printps.cpp +++ b/src/generic/printps.cpp @@ -218,10 +218,11 @@ bool wxPostScriptPrinter::Print(wxWindow *parent, wxPrintout *printout, bool pro } else { - sm_abortIt = true; - keepGoing = false; + sm_abortIt = TRUE; + keepGoing = FALSE; } } + wxYield(); } printout->OnEndDocument(); }