/* modified by Vaclav Slavik for use as jpeglib-independent module */
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "quantize.h"
#endif
#include "wx/palette.h"
#endif
+#if wxUSE_IMAGE
+
#include "wx/image.h"
#include "wx/quantize.h"
#ifdef __WXMSW__
-#include <windows.h>
#include "wx/msw/private.h"
#endif
return TRUE;
}
+#endif
+ // wxUSE_IMAGE
+