diff --git a/src/osx/carbon/region.cpp b/src/osx/carbon/region.cpp index eae2dd81c5..b2d0c251ca 100644 --- a/src/osx/carbon/region.cpp +++ b/src/osx/carbon/region.cpp @@ -96,7 +96,7 @@ wxRegion::wxRegion(const wxRect& rect) 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);