]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/printwin.cpp
TestDestroy() is not const any more (warnings suppressed)
[wxWidgets.git] / src / msw / printwin.cpp
index 31cf9641ce117035fa9853d85c47dc23e57cce82..f66d48fde26e475e109b0245249a5aee37cce352 100644 (file)
@@ -172,7 +172,7 @@ bool wxWindowsPrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt
   wxWindow *win = CreateAbortWindow(parent, printout);
   wxYield();
 
-#if defined(__BORLANDC__) || defined(__GNUWIN32__) || !defined(__WIN32__)
+#if defined(__BORLANDC__) || defined(__GNUWIN32__) || defined(__SALFORDC__) || !defined(__WIN32__)
   ::SetAbortProc((HDC) dc->GetHDC(), (FARPROC) m_lpAbortProc);
 #else
   ::SetAbortProc((HDC) dc->GetHDC(), (int (_stdcall *)