Fix wxLogChain (and wxLogWindow deriving from it) broken by wxLog changes.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 5 Dec 2009 01:32:45 +0000 (01:32 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 5 Dec 2009 01:32:45 +0000 (01:32 +0000)
commit51eb060619aca44a9c9ef2abe431c166b80e0d21
treea944ae7994ec2e1c3e607cb55118c044a786082d
parent0564ae939d13dba5d072826fc677da493a5e0a8c
Fix wxLogChain (and wxLogWindow deriving from it) broken by wxLog changes.

wxLogChain::DoLogRecord() only called DoLogRecord() on the old logger but not
the new one when the new logger was the same object as wxLogChain itself as is
always the case for wxLogWindow. The result was that nothing was logged into
the window.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/log.cpp