Revert wxDO_LOG_IF_ENABLED() change for MSVC6 in r74735.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 5 Sep 2013 14:10:34 +0000 (14:10 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 5 Sep 2013 14:10:34 +0000 (14:10 +0000)
commitff701a5de90478a656e7e8b6236d239d8cccd6b3
treeee511cb099e73fa653f972b8496d70ebde401ec4
parent1948ff5f89188afabbe0d538ab33545e3c94cbac
Revert wxDO_LOG_IF_ENABLED() change for MSVC6 in r74735.

The old solution worked fine for that compiler and the new one fails when
wxLogXXX() is used inside a switch statement to the wrong rules used by VC6
for the scope of the variables defined inside the for loop.

Simply revert back to using the old version for it, this will be easy to
re-revert after 3.0 by simply removing the check for it.

See #11829.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/log.h