#include "wx/icon.h"
#include "wx/cursor.h"
#include "wx/settings.h"
+ #include "wx/bitmap.h"
+ #include "wx/colour.h"
+ #include "wx/font.h"
#endif
-#include "wx/colour.h"
-#include "wx/bitmap.h"
-#include "wx/font.h"
-
WXDLLIMPEXP_DATA_CORE(wxBrushList*) wxTheBrushList;
WXDLLIMPEXP_DATA_CORE(wxFontList*) wxTheFontList;
WXDLLIMPEXP_DATA_CORE(wxPenList*) wxThePenList;
);
}
+bool wxRect::Inside(const wxRect& rect) const
+{
+ return Inside(rect.GetTopLeft()) && Inside(rect.GetBottomRight());
+}
+
wxRect& wxRect::Intersect(const wxRect& rect)
{
int x2 = GetRight(),