From f7bd3a7d8f16e7056dc41dbf5e3350cd249adee3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 5 Mar 2000 02:14:10 +0000 Subject: [PATCH] create null, not empty, region in default wxRegion ctor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/region.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)