X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c83d505a201ffeaad1da3bc02795397ab7fd9175..30dea05497c1f00d72d7dbf7f2f4818dfaa0e500:/src/msw/printwin.cpp?ds=sidebyside diff --git a/src/msw/printwin.cpp b/src/msw/printwin.cpp index 3e1097e3fb..609a04235c 100644 --- a/src/msw/printwin.cpp +++ b/src/msw/printwin.cpp @@ -172,7 +172,7 @@ bool wxWindowsPrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt wxWindow *win = CreateAbortWindow(parent, printout); wxYield(); -#if defined(__BORLANDC__) || defined(__GNUWIN32__) +#if defined(__BORLANDC__) || defined(__GNUWIN32__) || !defined(__WIN32__) ::SetAbortProc((HDC) dc->GetHDC(), (FARPROC) lpAbortProc); #else ::SetAbortProc((HDC) dc->GetHDC(), (int (_stdcall *)