]> git.saurik.com Git - wxWidgets.git/commit - src/common/log.cpp
Trigger wxLog auto-creation when getting old logger in wxLogChain ctor.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 19 May 2013 12:38:22 +0000 (12:38 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 19 May 2013 12:38:22 +0000 (12:38 +0000)
commit1cdaa5f25111febb2959f6673378de99af47c8e4
treed235cb261fc7df7ea3ab15391379726bb79fe8cf
parent055342681483c4c9e6f542984865ac0543a58c6b
Trigger wxLog auto-creation when getting old logger in wxLogChain ctor.

This ensures that a program that uses wxLogChain or one of the classes
deriving from it, such as wxLogWindow, can do it directly without worrying
about the standard logging being completely suppressed if the default log
target hadn't been instantiated yet.

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