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()
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user