X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b4da152ea3ec3968fb2f304b6ed73e0279c19506..5e3841bf8069fbcc2b1da3ef36af4f569c604265:/src/msw/dcprint.cpp diff --git a/src/msw/dcprint.cpp b/src/msw/dcprint.cpp index 6ca37febea..adc0e85930 100644 --- a/src/msw/dcprint.cpp +++ b/src/msw/dcprint.cpp @@ -432,7 +432,7 @@ void wxPrinterDC::DoDrawBitmap(const wxBitmap &bmp, if ( ::GetDeviceCaps(GetHdc(), RASTERCAPS) & RC_STRETCHDIB ) { #if wxUSE_DIB_FOR_BITMAP - if(bmp.GetHFileMap()) // we already have a dib + if ( bmp.IsDIB() ) { DIBSECTION dib; if ( ::GetObject(GetHbitmapOf(bmp), @@ -561,7 +561,7 @@ bool wxPrinterDC::DoBlit(wxCoord xdest, wxCoord ydest, int width = bmp.GetWidth(), height = bmp.GetHeight(); #if wxUSE_DIB_FOR_BITMAP - if(bmp.GetHFileMap()) // we already have a dib + if ( bmp.IsDIB() ) { DIBSECTION dib; if( ::GetObject(GetHbitmapOf(bmp),