X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..6c960f2e810bb16143bd64f228f301e9397a44bc:/include/wx/encconv.h diff --git a/include/wx/encconv.h b/include/wx/encconv.h index 4639f48638..6a54439eeb 100644 --- a/include/wx/encconv.h +++ b/include/wx/encconv.h @@ -54,7 +54,7 @@ class WXDLLIMPEXP_BASE wxEncodingConverter : public wxObject public: wxEncodingConverter(); - ~wxEncodingConverter() { if (m_Table) delete[] m_Table; } + virtual ~wxEncodingConverter() { if (m_Table) delete[] m_Table; } // Initialize conversion. Both output or input encoding may // be wxFONTENCODING_UNICODE, but only if wxUSE_WCHAR_T is set to 1.