X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..4a93ea29b583718ec19613d6af98ff1ce9cc0ea3:/src/common/quantize.cpp diff --git a/src/common/quantize.cpp b/src/common/quantize.cpp index b792d14833..736619734c 100644 --- a/src/common/quantize.cpp +++ b/src/common/quantize.cpp @@ -45,6 +45,8 @@ #include "wx/palette.h" #endif +#if wxUSE_IMAGE + #include "wx/image.h" #include "wx/quantize.h" @@ -1655,3 +1657,6 @@ bool wxQuantize::Quantize(const wxImage& src, return TRUE; } +#endif + // wxUSE_IMAGE +