#endif
#include "wx/gdicmn.h"
+#include "wx/gdiobj.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/font.h"
#endif
+
+IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject)
+
+
WXDLLIMPEXP_DATA_CORE(wxBrushList*) wxTheBrushList;
WXDLLIMPEXP_DATA_CORE(wxFontList*) wxTheFontList;
WXDLLIMPEXP_DATA_CORE(wxPenList*) wxThePenList;
return *this;
}
-bool wxRect::Inside(int cx, int cy) const
+bool wxRect::Contains(int cx, int cy) const
{
return ( (cx >= x) && (cy >= y)
&& ((cy - y) < height)
);
}
-bool wxRect::Inside(const wxRect& rect) const
+bool wxRect::Contains(const wxRect& rect) const
{
- return Inside(rect.GetTopLeft()) && Inside(rect.GetBottomRight());
+ return Contains(rect.GetTopLeft()) && Contains(rect.GetBottomRight());
}
wxRect& wxRect::Intersect(const wxRect& rect)