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