X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85f6b408dfd796805b1c43718e69549506353ca7..538f3830191e25eaf0edb0a379e08d4f85ee49bc:/include/wx/cocoa/region.h diff --git a/include/wx/cocoa/region.h b/include/wx/cocoa/region.h index 24ac542e83..c658eaf49a 100644 --- a/include/wx/cocoa/region.h +++ b/include/wx/cocoa/region.h @@ -37,7 +37,7 @@ public: const wxColour& transColour, int tolerance = 0) : wxRegionGeneric() { Union(bmp, transColour, tolerance); } - ~wxRegion() {} + virtual ~wxRegion() {} wxRegion(const wxRegion& r) : wxRegionGeneric(r) {} @@ -82,7 +82,7 @@ public: wxRegionIterator(const wxRegionIterator& iterator) : wxRegionIteratorGeneric(iterator) {} - ~wxRegionIterator() {} + virtual ~wxRegionIterator() {} wxRegionIterator& operator=(const wxRegionIterator& iter) { return *(wxRegionIterator*)&(this->wxRegionIteratorGeneric::operator=(iter)); }