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:
parent
5e1febface
commit
f7bd3a7d8f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user