X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34075dba7c0e34bcc2836fc3856f231272a2d8b2..75bc8b3454bd2adda5bf3dc0e60984a275ea7ac3:/src/common/quantize.cpp?ds=sidebyside diff --git a/src/common/quantize.cpp b/src/common/quantize.cpp index 57b311ec3a..cbd53cc468 100644 --- a/src/common/quantize.cpp +++ b/src/common/quantize.cpp @@ -1546,7 +1546,7 @@ bool wxQuantize::Quantize(const wxImage& src, wxImage& dest, if (flags & wxQUANTIZE_FILL_DESTINATION_IMAGE) { - if (!dest.Ok()) + if (!dest.IsOk()) dest.Create(w, h); imgdt = dest.GetData();