X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b61df4aa5fd523b8f331ef8199c3cb0fb9c0d59e..a653c966d4dfdb2e0b404ed7991c9c1abf0dcada:/src/gtk1/region.cpp?ds=sidebyside diff --git a/src/gtk1/region.cpp b/src/gtk1/region.cpp index ea44a6498f..ab656a06db 100644 --- a/src/gtk1/region.cpp +++ b/src/gtk1/region.cpp @@ -107,7 +107,7 @@ wxRegion::wxRegion( GdkRegion *region ) M_REGIONDATA->m_region = gdk_regions_union(wxGdkRegion(), region); } -wxRegion::wxRegion( size_t n, const wxPoint *points, int fillStyle ) +wxRegion::wxRegion( size_t n, const wxPoint *points, wxPolygonFillMode fillStyle ) { GdkPoint *gdkpoints = new GdkPoint[n]; for ( size_t i = 0 ; i < n ; i++ ) @@ -355,7 +355,7 @@ wxRegionContain wxRegion::DoContainsRect(const wxRect& r) const GdkRegion *wxRegion::GetRegion() const { if (!m_refData) - return (GdkRegion*) NULL; + return NULL; return M_REGIONDATA->m_region; }