]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dcprint.cpp
Fix harmless warning about NULL in wxStyledTextCtrl code.
[wxWidgets.git] / src / os2 / dcprint.cpp
index 918ff77c9cdbd4bd3d57ab46b040eff8fd93fdbe..9f3bd395ccddebd9a7da01d86b4c4682beefbf7b 100644 (file)
@@ -261,7 +261,7 @@ void wxPrinterDCImpl::DoDrawBitmap( const wxBitmap& rBmp,
                                     wxCoord WXUNUSED(vY),
                                     bool WXUNUSED(bUseMask))
 {
-    wxCHECK_RET( rBmp.Ok(), wxT("invalid bitmap in wxPrinterDC::DrawBitmap") );
+    wxCHECK_RET( rBmp.IsOk(), wxT("invalid bitmap in wxPrinterDC::DrawBitmap") );
 
 //    int                             nWidth  = rBmp.GetWidth();
 //    int                             nHeight = rBmp.GetHeight();