]> git.saurik.com Git - wxWidgets.git/commitdiff
create null, not empty, region in default wxRegion ctor
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 5 Mar 2000 02:14:10 +0000 (02:14 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 5 Mar 2000 02:14:10 +0000 (02:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/region.cpp

index d2b0f83cf6bd1c59f281847e91e9bb6df60a87d5..cb214071d08a3497a7ded6e7700052e354f57a2a 100644 (file)
@@ -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)