X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af7e24c33e1e6e00a7687ee965b921dbe60cdb36..eea4d01c65f9b29baa1193db762b4c6b8144af24:/src/msw/dcprint.cpp?ds=sidebyside 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();