]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/log.cpp
add XRC handler for wxSearchCtrl (extended patch 1751516)
[wxWidgets.git] / src / common / log.cpp
index e0bc9671105b3bcf90b42ca61dea903c71bc2028..89ed1264fcb3fca2087408c1c0772a2e9902122a 100644 (file)
@@ -865,18 +865,28 @@ void wxLogChain::DoLog(wxLogLevel level, const wxString& szString, time_t t)
     }
 }
 
-// ----------------------------------------------------------------------------
-// wxLogPassThrough
-// ----------------------------------------------------------------------------
-
 #ifdef __VISUALC__
     // "'this' : used in base member initializer list" - so what?
     #pragma warning(disable:4355)
 #endif // VC++
 
-wxLogPassThrough::wxLogPassThrough()
+// ----------------------------------------------------------------------------
+// wxLogInterposer
+// ----------------------------------------------------------------------------
+
+wxLogInterposer::wxLogInterposer()
+                : wxLogChain(this)
+{
+}
+
+// ----------------------------------------------------------------------------
+// wxLogInterposerTemp
+// ----------------------------------------------------------------------------
+
+wxLogInterposerTemp::wxLogInterposerTemp()
                 : wxLogChain(this)
 {
+       DetachOldLog();
 }
 
 #ifdef __VISUALC__