+ {
+ m_macRgn.reset( HIShapeCreateMutable() );
+ }
+
+ wxRegionRefData(wxCFRef<HIShapeRef> ®ion)
+ {
+ m_macRgn.reset( HIShapeCreateMutableCopy(region) );
+ }
+
+ 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) );
+ }