X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83b445a666eb7e7fb99d2966dd247b7d5e8b4362..714dfaa6fb52f9cc1da268cf743dfe6d5be1b2fe:/src/mac/carbon/dccg.cpp diff --git a/src/mac/carbon/dccg.cpp b/src/mac/carbon/dccg.cpp index 5e659d94a7..9a6cd4390d 100755 --- a/src/mac/carbon/dccg.cpp +++ b/src/mac/carbon/dccg.cpp @@ -408,7 +408,7 @@ protected : } } - ~ImagePattern() + virtual ~ImagePattern() { if ( m_image ) CGImageRelease( m_image ) ; @@ -523,7 +523,7 @@ public : } protected : - ~HatchPattern() {} + virtual ~HatchPattern() {} CGRect m_imageBounds ; int m_hatch ;