]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/log.cpp
Avoid incompatible operand types
[wxWidgets.git] / src / common / log.cpp
index 88e715f80082510f1d4f24d6cb2d6c518d130bbf..dd0f26e1d6a55012b1c6d7e7c0bf8257206f50ce 100644 (file)
@@ -852,7 +852,7 @@ wxLogChain::wxLogChain(wxLog *logger)
 
 wxLogChain::~wxLogChain()
 {
-    delete m_logOld;
+    wxLog::SetActiveTarget(m_logOld);
 
     if ( m_logNew != this )
         delete m_logNew;