#if wxUSE_IMAGE
+#include "wx/imagbmp.h"
+
#ifndef WX_PRECOMP
+ #ifdef __WXMSW__
+ #include "wx/msw/wrapwin.h"
+ #endif
#include "wx/log.h"
#include "wx/app.h"
+ #include "wx/bitmap.h"
+ #include "wx/palette.h"
+ #include "wx/intl.h"
#endif
-#include "wx/imagbmp.h"
-#include "wx/bitmap.h"
-#include "wx/debug.h"
#include "wx/filefn.h"
#include "wx/wfstream.h"
-#include "wx/intl.h"
-#include "wx/module.h"
#include "wx/quantize.h"
// For memcpy
#endif
#endif
-#ifdef __WXMSW__
-#include "wx/msw/wrapwin.h"
-#endif
-
//-----------------------------------------------------------------------------
// wxBMPHandler
//-----------------------------------------------------------------------------
verbose, IsBmp, true) )
{
if (verbose)
- wxLogError( _("Error in reading image DIB .") );
+ wxLogError( _("Error in reading image DIB.") );
return false;
}