X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5549e9f76fb5cbfb2a2190980983bcebea132a2e..d7cff34d1f6a2088edcfce3ea5934cdfc6658eb4:/src/msw/region.cpp?ds=inline diff --git a/src/msw/region.cpp b/src/msw/region.cpp index 0d1b81aace..c91f276350 100644 --- a/src/msw/region.cpp +++ b/src/msw/region.cpp @@ -105,6 +105,10 @@ wxRegion::wxRegion(const wxRect& rect) wxRegion::wxRegion(size_t n, const wxPoint *points, int fillStyle) { +#ifdef __WXMICROWIN__ + m_refData = NULL; + M_REGION = NULL; +#else m_refData = new wxRegionRefData; M_REGION = ::CreatePolygonRgn ( @@ -112,6 +116,7 @@ wxRegion::wxRegion(size_t n, const wxPoint *points, int fillStyle) n, fillStyle == wxODDEVEN_RULE ? ALTERNATE : WINDING ); +#endif } /*