]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/quantize.cpp
Don't use "Cancel" button in the about dialog of the listctrl sample.
[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();