]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/quantize.cpp
Disable wxUSE_ENH_METAFILE for wxGTK builds.
[wxWidgets.git] / src / common / quantize.cpp
index 57b311ec3a93b5b18b9791cf7020d1327a1a6816..cbd53cc46838d09712fa128776cccb38ff4409fd 100644 (file)
@@ -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();