]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dcprint.cpp
fixed typo in library name
[wxWidgets.git] / src / msw / dcprint.cpp
index 6ca37febeac417fa5a9c5a1cd8c3b367c4e4eebf..adc0e859306003c92040058fcd97d4d07870e52d 100644 (file)
@@ -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),