]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/region.h
wxXML load/save improvements: added ability to not ignore whitespace and specify...
[wxWidgets.git] / include / wx / cocoa / region.h
index 24ac542e838cb1e13ae3c33120761f1d9f69fad5..c658eaf49a4afb3cfedbb8c306dc4d201982d272 100644 (file)
@@ -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)); }