X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76c32e7b97bbd5d0c809dd59cba2926be016f7af..931d6a47c32a5b4c283243cb553ce71ee2b535d5:/src/motif/dc.cpp?ds=inline diff --git a/src/motif/dc.cpp b/src/motif/dc.cpp index 6ce44a8df1..e053afa29f 100644 --- a/src/motif/dc.cpp +++ b/src/motif/dc.cpp @@ -4,7 +4,6 @@ // Author: Julian Smart // Modified by: // Created: 01/02/97 -// RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -36,14 +35,14 @@ wxMotifDCImpl::wxMotifDCImpl(wxDC *owner) void wxMotifDCImpl::DoDrawIcon( const wxIcon &icon, wxCoord x, wxCoord y) { wxCHECK_RET( IsOk(), "invalid dc" ); - wxCHECK_RET( icon.Ok(), "invalid icon" ); + wxCHECK_RET( icon.IsOk(), "invalid icon" ); DoDrawBitmap(icon, x, y, true); } void wxMotifDCImpl::DoDrawBitmap( const wxBitmap& bitmap, wxCoord x, wxCoord y, bool useMask ) { - wxCHECK_RET( bitmap.Ok(), "invalid bitmap" ); + wxCHECK_RET( bitmap.IsOk(), "invalid bitmap" ); wxMemoryDC memDC; memDC.SelectObjectAsSource(bitmap);