+ {
+ m_macRgn.reset( HIShapeCreateMutable() );
+ }
+
+ wxRegionRefData(HIShapeRef hRegion)
+ {
+ m_macRgn.reset( HIShapeCreateMutableCopy(hRegion) );
+ }
+
+ wxRegionRefData(long x, long y, long w, long h)
+ {
+ CGRect r = CGRectMake(x,y,w,h);
+ wxCFRef<HIShapeRef> rect(HIShapeCreateWithRect(&r));
+ m_macRgn.reset( HIShapeCreateMutableCopy(rect) );
+ }