]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dcprint.cpp
more LaTeX fixes
[wxWidgets.git] / src / msw / dcprint.cpp
index 6ca37febeac417fa5a9c5a1cd8c3b367c4e4eebf..eb6842a4ca1561bdabaa6294dff61f2f6ee51b86 100644 (file)
@@ -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),