X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c1a88d8b8518eda184be388723f46cfd54c3ac6..4ed0aceb92203313439ad8df2cc9623ed56b5486:/src/msw/dcprint.cpp diff --git a/src/msw/dcprint.cpp b/src/msw/dcprint.cpp index 1fabf5e6df..c39d15dc3f 100644 --- a/src/msw/dcprint.cpp +++ b/src/msw/dcprint.cpp @@ -415,6 +415,11 @@ WXHDC WXDLLEXPORT wxGetPrinterDC(const wxPrintData& printDataConst) // wxPrinterDC bit blitting/bitmap drawing // ---------------------------------------------------------------------------- +// Win16 doesn't define GDI_ERROR. +#ifndef GDI_ERROR +#define GDI_ERROR -1 +#endif + void wxPrinterDC::DoDrawBitmap(const wxBitmap &bmp, wxCoord x, wxCoord y, bool useMask)