X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bc2e39e36625691d2418292f717db6c679a54a57..aa50e893ee119e4c66414d7f194d89a3d9a23819:/src/msw/region.cpp?ds=inline diff --git a/src/msw/region.cpp b/src/msw/region.cpp index d2b0f83cf6..cb214071d0 100644 --- a/src/msw/region.cpp +++ b/src/msw/region.cpp @@ -76,8 +76,7 @@ public: */ wxRegion::wxRegion() { - m_refData = new wxRegionRefData; - M_REGION = ::CreateRectRgn(0, 0, 0, 0); + m_refData = (wxRegionRefData *)NULL; } wxRegion::wxRegion(WXHRGN hRegion)