#endif
#include "wx/bitmap.h"
-#include "wx/icon.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/intl.h"
+ #include "wx/log.h"
+ #include "wx/utils.h"
+ #include "wx/dcmemory.h"
+ #include "wx/icon.h"
+#endif
+
#include "wx/filefn.h"
#include "wx/image.h"
-#include "wx/dcmemory.h"
-#include "wx/utils.h"
-#include "wx/log.h"
-#include "wx/intl.h"
#include "wx/image.h"
#include "wx/xpmdecod.h"
pf = &gs_pixel_format_32;
break;
default:
- wxASSERT_MSG( 0, wxT("invalid bitmap depth") );
+ wxFAIL_MSG(wxT("invalid bitmap depth"));
return false;
}