/////////////////////////////////////////////////////////////////////////////
-// Name: src/generic/region.cpp
+// Name: src/generic/regiong.cpp
// Purpose: generic wxRegion class
// Author: David Elliott
// Modified by:
if (!temp->rects)
{
- free((char *) temp);
+ delete temp;
return (Region) NULL;
}
temp->numRects = 0;
else if (r2->x1 <= x1)
{
/*
- * Subtrahend preceeds minuend: nuke left edge of minuend.
+ * Subtrahend precedes minuend: nuke left edge of minuend.
*/
x1 = r2->x2;
if (x1 >= r1->x2)