wxWidgets/tests/misc
Vadim Zeitlin c2e18d75e5 Fix wxCALL_FOR_EACH() to work with more than 2 arguments with MSVC.
Due to a bug in MSVC handling of __VA_ARGS__ (see
https://connect.microsoft.com/VisualStudio/feedback/details/380090/variadic-macro-replacement)
wxCALL_FOR_EACH() didn't work correctly as long as more than two arguments
were used with it.

Work around the bug by protecting __VA_ARGS__ from being incorrectly passed as
a single token to the macro being called on every step: this was already done
for wxCALL_FOR_EACH itself with wxCALL_FOR_EACH_, but we need to do it for all
the helper macros too.

Also add a test checking that this does, actually, work.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-14 00:59:53 +00:00
..
dynamiclib.cpp
environ.cpp
garbage.cpp
guifuncs.cpp
metatest.cpp Remove MSVC6 support. 2014-05-15 22:32:17 +00:00
misctests.cpp Fix wxCALL_FOR_EACH() to work with more than 2 arguments with MSVC. 2014-09-14 00:59:53 +00:00
module.cpp
pathlist.cpp
safearrayconverttest.cpp
selstoretest.cpp
settings.cpp
typeinfotest.cpp