Files
wxWidgets/tests
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
..
2014-05-15 22:32:17 +00:00
2014-05-15 22:32:17 +00:00
2014-05-15 22:32:17 +00:00
2014-05-15 22:32:17 +00:00
2014-05-15 22:32:17 +00:00
2014-05-15 22:32:17 +00:00
2014-07-07 05:16:33 +00:00
2014-05-15 22:32:17 +00:00
2011-09-29 13:47:38 +00:00
2004-11-22 15:12:29 +00:00
2014-08-24 01:50:11 +00:00
2014-05-15 22:32:17 +00:00