X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34075dba7c0e34bcc2836fc3856f231272a2d8b2..87f0b1323b7ac77f02133b836c8dfee63b0fd387:/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();