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
This commit is contained in:
Vadim Zeitlin 2000-03-05 02:14:10 +00:00
parent 5e1febface
commit f7bd3a7d8f

View File

@ -76,8 +76,7 @@ public:
*/ */
wxRegion::wxRegion() wxRegion::wxRegion()
{ {
m_refData = new wxRegionRefData; m_refData = (wxRegionRefData *)NULL;
M_REGION = ::CreateRectRgn(0, 0, 0, 0);
} }
wxRegion::wxRegion(WXHRGN hRegion) wxRegion::wxRegion(WXHRGN hRegion)