X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..f54e5c1a4f6952c62ed4480f7d26feddc20f98ba:/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.