#pragma hdrstop
#endif
-#ifndef WX_PRECOMP
- #include "wx/palette.h"
-#endif
-
#if wxUSE_IMAGE
-#include "wx/image.h"
#include "wx/quantize.h"
+#ifndef WX_PRECOMP
+ #include "wx/palette.h"
+ #include "wx/image.h"
+#endif
+
#ifdef __WXMSW__
-#include "wx/msw/private.h"
+ #include "wx/msw/private.h"
#endif
#include <stdlib.h>
delete[] g;
delete[] b;
}
-#endif // wxUSE_PALETTE
+#else // !wxUSE_PALETTE
+ wxUnusedVar(pPalette);
+#endif // wxUSE_PALETTE/!wxUSE_PALETTE
return true;
}