X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd05139a8023fd3e30476409fafbe04221c6d627..3f4a2351e4c677c88c18ea812b609477adee7380:/src/mac/classic/region.cpp diff --git a/src/mac/classic/region.cpp b/src/mac/classic/region.cpp index 2b25c299cc..6d3e1bafc5 100644 --- a/src/mac/classic/region.cpp +++ b/src/mac/classic/region.cpp @@ -39,7 +39,7 @@ public: CopyRgn( data.m_macRgn , m_macRgn ) ; } - ~wxRegionRefData() + virtual ~wxRegionRefData() { DisposeRgn( m_macRgn ) ; }