IFFImage *m_image; // image data
wxInputStream *m_f; // input stream
unsigned char *databuf;
- unsigned char *picptr;
unsigned char *decomp_mem;
void Destroy();
// create the image
image->Create(GetWidth(), GetHeight());
- if (!image->Ok())
+ if (!image->IsOk())
return false;
unsigned char *pal = GetPalette();
}
m_image->p = new byte[bmhd_width * bmhd_height * 3];
- byte *picptr = m_image->p;
+ byte *picptr = m_image->p;
if (!picptr) {
Destroy();
return wxIFF_MEMERR;