#endif
#include "wx/gdicmn.h"
+#include "wx/gdiobj.h"
#ifndef WX_PRECOMP
#include "wx/log.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/font.h"
+
+IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject)
+
WXDLLIMPEXP_DATA_CORE(wxBrushList*) wxTheBrushList;
WXDLLIMPEXP_DATA_CORE(wxFontList*) wxTheFontList;
);
}
+bool wxRect::Inside(const wxRect& rect) const
+{
+ return Inside(rect.GetTopLeft()) && Inside(rect.GetBottomRight());
+}
+
wxRect& wxRect::Intersect(const wxRect& rect)
{
int x2 = GetRight(),