/////////////////////////////////////////////////////////////////////////////
-// 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;