X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd05139a8023fd3e30476409fafbe04221c6d627..3ab296d9eb6d351eb1d2238f3e6ff2f5e6123861:/src/mac/carbon/region.cpp?ds=sidebyside diff --git a/src/mac/carbon/region.cpp b/src/mac/carbon/region.cpp index 23e905e869..1f26fe1575 100644 --- a/src/mac/carbon/region.cpp +++ b/src/mac/carbon/region.cpp @@ -38,7 +38,7 @@ public: CopyRgn( data.m_macRgn , m_macRgn ); } - ~wxRegionRefData() + virtual ~wxRegionRefData() { DisposeRgn( m_macRgn ); } RgnHandle m_macRgn;