X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/15f345aad37f2f499f5e631d86238325bf232e36..abd474ea63667f727940a009cc3e0b23ba9f418f:/src/common/gifdecod.cpp?ds=inline diff --git a/src/common/gifdecod.cpp b/src/common/gifdecod.cpp index 36e8ed276e..cd119826f2 100644 --- a/src/common/gifdecod.cpp +++ b/src/common/gifdecod.cpp @@ -138,7 +138,7 @@ bool wxGIFDecoder::ConvertToImage(unsigned int frame, wxImage *image) const image->Create(sz.GetWidth(), sz.GetHeight()); image->SetType(wxBITMAP_TYPE_GIF); - if (!image->Ok()) + if (!image->IsOk()) return false; pal = GetPalette(frame);