#ifndef WX_PRECOMP
#include "wx/log.h"
- #include "wx/app.h"
#include "wx/hash.h"
#include "wx/utils.h"
- #include "wx/bitmap.h"
#include "wx/math.h"
#include "wx/module.h"
+ #include "wx/palette.h"
+ #include "wx/intl.h"
#endif
#include "wx/filefn.h"
#include "wx/wfstream.h"
-#include "wx/intl.h"
#if wxUSE_XPM
#include "wx/xpmdecod.h"
}
else
{
- wxCHECK_RET( imageRect.Inside(rect.GetTopLeft()) &&
- imageRect.Inside(rect.GetBottomRight()),
+ wxCHECK_RET( imageRect.Contains(rect.GetTopLeft()) &&
+ imageRect.Contains(rect.GetBottomRight()),
wxT("invalid bounding rectangle") );
}