#if wxUSE_IMAGE
wxASSERT(fn.FileExists());
wxImage image(fn.GetFullPath());
- wxASSERT(image.Ok());
+ wxASSERT(image.IsOk());
RescaleImage(image, foundSize.x, foundSize.y);
wxBitmap bmp(image);
- wxASSERT( bmp.Ok() );
+ wxASSERT( bmp.IsOk() );
#else
wxBitmap bmp(wxNullBitmap);
#endif
}
wxImage image(filepath);
- if ( image.Ok() )
+ if ( image.IsOk() )
{
// Rescale very large images
int ow = image.GetWidth();