]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dcprint.cpp
Somehow, setting a tint color makes gauge work :/.
[wxWidgets.git] / src / os2 / dcprint.cpp
index 0ee065231e88617a3f37543eb303a381983dc6dd..a3ffc66a7f9428000035a998d4c28e4f9516cb7b 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      David Webster
 // Modified by:
 // Created:     10/14/99
-// RCS-ID:      $Id$
 // Copyright:   (c) David Webster
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -86,10 +85,8 @@ bool wxPrinterDCImpl::StartDoc(const wxString& WXUNUSED(rsMessage))
     else
         docinfo.lpszOutput = (const wxChar *) filename;
 
-#if defined(__WIN95__)
     docinfo.lpszDatatype = NULL;
     docinfo.fwType = 0;
-#endif
 
     if (!m_hDC)
         return false;
@@ -261,7 +258,7 @@ void wxPrinterDCImpl::DoDrawBitmap( const wxBitmap& rBmp,
                                     wxCoord WXUNUSED(vY),
                                     bool WXUNUSED(bUseMask))
 {
-    wxCHECK_RET( rBmp.Ok(), _T("invalid bitmap in wxPrinterDC::DrawBitmap") );
+    wxCHECK_RET( rBmp.IsOk(), wxT("invalid bitmap in wxPrinterDC::DrawBitmap") );
 
 //    int                             nWidth  = rBmp.GetWidth();
 //    int                             nHeight = rBmp.GetHeight();