]> git.saurik.com Git - wxWidgets.git/commit
Reuse wxMessageOutputStderr for wxLogStderr implementation.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 6 Jul 2013 22:57:05 +0000 (22:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 6 Jul 2013 22:57:05 +0000 (22:57 +0000)
commitccaf2891c9082773460c50c7eb7a910ea51e7003
tree0ad8f14be00e2c7d37df0817db23ce018751c955
parent700256bbdbf40042ecadad340f7909589a8f7ecc
Reuse wxMessageOutputStderr for wxLogStderr implementation.

In addition to avoiding (tiny) code duplication, this ensures that both places
use the stream in the same orientation, i.e. either both use the narrow
functions or the wide ones. Thus, it fixes a problem with output simply
disappearing if wxLogStderr and wxMessageOutputStderr were both used: the one
used first disabled any output by the other one.

Closes #14782.

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