-#if defined(__WATCOMC__) || defined(__BORLANDC__) || defined(__GNUWIN32__) || !defined(__WIN32__)
-#ifdef STRICT
- ::SetAbortProc((HDC) impl->GetHDC(), (ABORTPROC) m_lpAbortProc);
-#else
- ::SetAbortProc((HDC) impl->GetHDC(), (FARPROC) m_lpAbortProc);
-#endif
-#else
- ::SetAbortProc((HDC) impl->GetHDC(), (int (_stdcall *)
- // cast it to right type only if required
- // FIXME it's really cdecl and we're casting it to stdcall - either there is
- // something I don't understand or it will crash at first usage
-#ifdef STRICT
- (HDC, int)
-#else
- ()
-#endif
- )m_lpAbortProc);
-#endif