X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd05139a8023fd3e30476409fafbe04221c6d627..632aaa18917a5a26e166aa970f7ad65ff15a3667:/src/x11/region.cpp diff --git a/src/x11/region.cpp b/src/x11/region.cpp index d2f196d93f..02b26b1600 100644 --- a/src/x11/region.cpp +++ b/src/x11/region.cpp @@ -45,7 +45,7 @@ public: XUnionRegion( refData.m_region, m_region, m_region ); } - ~wxRegionRefData() + virtual ~wxRegionRefData() { if (m_region) XDestroyRegion( m_region ); @@ -432,7 +432,7 @@ class wxRIRefData: public wxObjectRefData public: wxRIRefData() : m_rects(0), m_numRects(0){} - ~wxRIRefData(); + virtual ~wxRIRefData(); wxRect *m_rects; size_t m_numRects;