X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a12f001e3fe47f95a4ce6cbc2dde070b0ae019e7..917be7ed065337e8a7a67615969ecaade9eea809:/src/msw/printwin.cpp diff --git a/src/msw/printwin.cpp b/src/msw/printwin.cpp index 802f1082c6..727d956f2c 100644 --- a/src/msw/printwin.cpp +++ b/src/msw/printwin.cpp @@ -185,7 +185,7 @@ bool wxWindowsPrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt wxWindow *win = CreateAbortWindow(parent, printout); wxYield(); -#if defined(__BORLANDC__) || defined(__GNUWIN32__) || defined(__SALFORDC__) || !defined(__WIN32__) +#if defined(__WATCOMC__) || defined(__BORLANDC__) || defined(__GNUWIN32__) || defined(__SALFORDC__) || !defined(__WIN32__) #ifdef STRICT ::SetAbortProc((HDC) dc->GetHDC(), (ABORTPROC) m_lpAbortProc); #else @@ -322,7 +322,7 @@ bool wxWindowsPrinter::Setup(wxWindow *WXUNUSED(parent)) return (ret == wxID_OK); #else - return wxID_CANCEL; + return false; #endif }