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
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user