X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34075dba7c0e34bcc2836fc3856f231272a2d8b2..77c8efc8c37da6d6a5e2e8022d21d1cd7d76371d:/src/common/quantize.cpp 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();