From 954f8d64fb6202884b4ad5c235af188e9a6622e4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 18 Jan 2010 00:28:21 +0000 Subject: [PATCH] Don't call base class version unnecessarily in wxLogWindow::DoLogTextAtLevel(). This is unnecessary as the log message is already passed to the previous logger by the base class wxLogChain::DoLogRecord() implementation. Worse, it's actively harmful as it resulted in asserts in wxLog::DoLogText() when built with WXWIN_COMPATIBILITY_2_8==0. Closes #11526. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/logg.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/generic/logg.cpp b/src/generic/logg.cpp index 20357ead22..be7d63af69 100644 --- a/src/generic/logg.cpp +++ b/src/generic/logg.cpp @@ -610,9 +610,6 @@ void wxLogWindow::Show(bool bShow) void wxLogWindow::DoLogTextAtLevel(wxLogLevel level, const wxString& msg) { - // first let the previous logger show it - wxLogPassThrough::DoLogTextAtLevel(level, msg); - if ( !m_pLogFrame ) return; -- 2.45.2