X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd05139a8023fd3e30476409fafbe04221c6d627..4e1fd51de7349097a30b3b994e5c6e9b074de77c:/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 ) ; }