X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55e5154d2cc5f994c34b128cd05fdc14f2c2fc43..e4c903b2ea42fe104ef50d0ea6028f14d8309dfa:/src/common/log.cpp?ds=sidebyside diff --git a/src/common/log.cpp b/src/common/log.cpp index 88e715f800..dd0f26e1d6 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -852,7 +852,7 @@ wxLogChain::wxLogChain(wxLog *logger) wxLogChain::~wxLogChain() { - delete m_logOld; + wxLog::SetActiveTarget(m_logOld); if ( m_logNew != this ) delete m_logNew;