]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagiff.cpp
Add some version checks to help compiling on OSX.
[wxWidgets.git] / src / common / imagiff.cpp
index bf214b15c84d7bd6fd848d86c2d90d2790525178..f71aaf3f7bc33885204c46f8dd141dc7665de5e8 100644 (file)
@@ -140,7 +140,7 @@ bool wxIFFDecoder::ConvertToImage(wxImage *image) const
     // create the image
     image->Create(GetWidth(), GetHeight());
 
-    if (!image->Ok())
+    if (!image->IsOk())
         return false;
 
     unsigned char *pal = GetPalette();