X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04662def27c4227f8372084167e3a37729c048b9..4285fbcab980f2bc26405828f8130fa52062f2b9:/include/wx/log.h diff --git a/include/wx/log.h b/include/wx/log.h index edbddebb63..28272c9b9c 100644 --- a/include/wx/log.h +++ b/include/wx/log.h @@ -313,7 +313,7 @@ class WXDLLEXPORT wxLogChain : public wxLog { public: wxLogChain(wxLog *logger); - virtual ~wxLogChain() { delete m_logOld; } + virtual ~wxLogChain(); // change the new log target void SetLog(wxLog *logger);