new wxRegionRefData has size=1 so rects=malloc(sizeof(BOX))
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -166,7 +166,7 @@ public:
|
|||||||
/* XCreateRegion */
|
/* XCreateRegion */
|
||||||
{ size = 1;
|
{ size = 1;
|
||||||
numRects = 0;
|
numRects = 0;
|
||||||
rects = NULL;
|
rects = ( BOX * )malloc( (unsigned) sizeof( BOX ));
|
||||||
extents.x1 = 0;
|
extents.x1 = 0;
|
||||||
extents.x2 = 0;
|
extents.x2 = 0;
|
||||||
extents.y1 = 0;
|
extents.y1 = 0;
|
||||||
|
Reference in New Issue
Block a user