// Author: Vadim Zeitlin
// Modified by:
// Created: 20.11.99
-// RCS-ID: $Id$
// Copyright: (c) 1999 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
wxBitmapRefData* pData = pBitmap->GetBitmapData();
- if ( pBitmap->Ok() )
+ if ( pBitmap->IsOk() )
{
BITMAPINFOHEADER vBmph;
pData->m_nHeight = vBmph.cy;
pData->m_nDepth = vBmph.cBitCount;
}
- return(pBitmap->Ok());
+ return(pBitmap->IsOk());
} // end of wxBMPResourceHandler::LoadFile
bool wxBMPFileHandler::LoadFile( wxBitmap* pBitmap,
pIcon->SetHICON((WXHICON)hIcon);
- return pIcon->Ok();
+ return pIcon->IsOk();
} // end of wxICOResourceHandler::LoadIcon