X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bc2e39e36625691d2418292f717db6c679a54a57..a967ef9dcefdb23a73ab389b5749fe1e17bedc5b:/src/msw/region.cpp?ds=sidebyside 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)