git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51733
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// Make a copy of the region
RgnHandle shapeRegion = NewRgn();
// Make a copy of the region
RgnHandle shapeRegion = NewRgn();
- CopyRgn( (RgnHandle)region.GetWXHRGN(), shapeRegion );
+ HIShapeGetAsQDRgn( region.GetWXHRGN(), shapeRegion );
// Dispose of any shape region we may already have
RgnHandle oldRgn = (RgnHandle)GetWRefCon( (WindowRef)MacGetWindowRef() );
// Dispose of any shape region we may already have
RgnHandle oldRgn = (RgnHandle)GetWRefCon( (WindowRef)MacGetWindowRef() );