]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/region.cpp
added automatic growing of in-place wxTextCtrls for generic wxListCtrl and wxTreeCtrl
[wxWidgets.git] / 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)