X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34075dba7c0e34bcc2836fc3856f231272a2d8b2..fe7cefd493837b49e8095b87aad1a01679eb7592:/src/common/quantize.cpp diff --git a/src/common/quantize.cpp b/src/common/quantize.cpp index 57b311ec3a..618f4e26b6 100644 --- a/src/common/quantize.cpp +++ b/src/common/quantize.cpp @@ -4,7 +4,6 @@ // Author: Julian Smart // Modified by: // Created: 22/6/2000 -// RCS-ID: $Id$ // Copyright: (c) Thomas G. Lane, Vaclav Slavik, Julian Smart // Licence: wxWindows licence + JPEG library licence ///////////////////////////////////////////////////////////////////////////// @@ -1546,7 +1545,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();