X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b3a44e057b5183acdf2cf133f059cf94c7884738..2121eb69fa8d49f4484f7170159e61f2e8885de4:/src/gtk/region.cpp diff --git a/src/gtk/region.cpp b/src/gtk/region.cpp index 0fd5a8ac44..0cb6a0ee19 100644 --- a/src/gtk/region.cpp +++ b/src/gtk/region.cpp @@ -46,7 +46,7 @@ public: m_region = gdk_region_copy(refData.m_region); } - ~wxRegionRefData() + virtual ~wxRegionRefData() { if (m_region) gdk_region_destroy( m_region );