X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c51a665c649f7579fb39e62070cef4f66b3210d..0d53638f7147c18153f63fdfc096b17be6e22a27:/src/osx/imaglist.cpp diff --git a/src/osx/imaglist.cpp b/src/osx/imaglist.cpp index e2191ca179..8dc07f1467 100644 --- a/src/osx/imaglist.cpp +++ b/src/osx/imaglist.cpp @@ -2,7 +2,6 @@ // Name: src/osx/imaglist.cpp // Purpose: // Author: Robert Roebling -// RCS_ID: $Id$ // Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -108,7 +107,7 @@ int wxImageList::Add( const wxBitmap &bitmap ) int wxImageList::Add( const wxBitmap& bitmap, const wxBitmap& mask ) { wxBitmap bmp( bitmap ); - if (mask.Ok()) + if (mask.IsOk()) bmp.SetMask( new wxMask( mask ) ); return Add( bmp ); @@ -231,7 +230,7 @@ bool wxImageList::Replace( int index, const wxBitmap &bitmap, const wxBitmap &ma m_images.Insert( next, newBitmap ); } - if (mask.Ok()) + if (mask.IsOk()) newBitmap->SetMask(new wxMask(mask)); return true;