X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af7e24c33e1e6e00a7687ee965b921dbe60cdb36..b404a8f3b072129c107c6d9a5e0f6f53cd34807b:/src/msw/dcprint.cpp diff --git a/src/msw/dcprint.cpp b/src/msw/dcprint.cpp index 9ca81119cb..150232ed19 100644 --- a/src/msw/dcprint.cpp +++ b/src/msw/dcprint.cpp @@ -401,7 +401,7 @@ void wxPrinterDCImpl::DoDrawBitmap(const wxBitmap& bmp, wxCoord x, wxCoord y, bool useMask) { - wxCHECK_RET( bmp.Ok(), wxT("invalid bitmap in wxPrinterDC::DrawBitmap") ); + wxCHECK_RET( bmp.IsOk(), wxT("invalid bitmap in wxPrinterDC::DrawBitmap") ); int width = bmp.GetWidth(), height = bmp.GetHeight();