X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a6384ca1e6e9a84f755dbca28875a5e89267766..5942996c94a82dcbedf7b1041b08acd8d1d97449:/src/generic/regiong.cpp diff --git a/src/generic/regiong.cpp b/src/generic/regiong.cpp index e5595ff19e..9c7bf1d034 100644 --- a/src/generic/regiong.cpp +++ b/src/generic/regiong.cpp @@ -226,7 +226,7 @@ public: extents = refData.extents; } - ~wxRegionRefData() + virtual ~wxRegionRefData() { free(rects); }