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