#include "wx/gdicmn.h"
#endif
-#include "wx/mac/uma.h"
+#include "wx/osx/uma.h"
IMPLEMENT_DYNAMIC_CLASS(wxRegion, wxGDIObject)
IMPLEMENT_DYNAMIC_CLASS(wxRegionIterator, wxObject)
m_refData = new wxRegionRefData(rect.x , rect.y , rect.width , rect.height);
}
-wxRegion::wxRegion(size_t n, const wxPoint *points, int WXUNUSED(fillStyle))
+wxRegion::wxRegion(size_t n, const wxPoint *points, wxPolygonFillMode WXUNUSED(fillStyle))
{
wxUnusedVar(n);
wxUnusedVar(points);
wxGDIRefData *wxRegion::CloneGDIRefData(const wxGDIRefData *data) const
{
- return new wxRegionRefData(*wx_static_cast(const wxRegionRefData *, data));
+ return new wxRegionRefData(*static_cast<const wxRegionRefData *>(data));
}
//-----------------------------------------------------------------------------
{
CGRect box ;
HIShapeGetBounds( M_REGION , &box ) ;
- x = wx_static_cast(int, box.origin.x);
- y = wx_static_cast(int, box.origin.y);
- w = wx_static_cast(int, box.size.width);
- h = wx_static_cast(int, box.size.height);
+ x = static_cast<int>(box.origin.x);
+ y = static_cast<int>(box.origin.y);
+ w = static_cast<int>(box.size.width);
+ h = static_cast<int>(box.size.height);
return true;
}