X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b4da152ea3ec3968fb2f304b6ed73e0279c19506..1a19e369fbce12ce4d8097fc08609a436748a6ed:/src/msw/dcprint.cpp diff --git a/src/msw/dcprint.cpp b/src/msw/dcprint.cpp index 6ca37febea..eb6842a4ca 100644 --- a/src/msw/dcprint.cpp +++ b/src/msw/dcprint.cpp @@ -5,7 +5,7 @@ // Modified by: // Created: 01/02/97 // RCS-ID: $Id$ -// Copyright: (c) Julian Smart and Markus Holzem +// Copyright: (c) Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -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),