Files
wxWidgets/include/wx
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-03-30 00:02:23 +00:00
2014-08-28 11:35:34 +00:00
2014-05-15 22:32:17 +00:00
2014-05-15 22:32:17 +00:00
2014-08-24 01:50:11 +00:00
2014-08-05 22:01:52 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-05-16 13:01:29 +00:00
2014-03-30 00:02:23 +00:00
2014-05-15 22:32:17 +00:00
2014-08-24 01:50:11 +00:00
2014-05-15 22:32:17 +00:00
2014-05-15 22:32:17 +00:00
2014-03-03 07:04:37 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-05-15 22:32:17 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-05-16 13:01:29 +00:00
2014-05-15 23:56:58 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-05-15 22:32:17 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-08-03 12:47:41 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-05-16 13:01:06 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-05-16 13:01:06 +00:00
2014-05-15 22:32:17 +00:00
2014-08-24 01:50:11 +00:00
2014-05-15 22:32:17 +00:00
2014-05-15 22:32:17 +00:00
2014-08-24 01:50:11 +00:00
2014-05-15 23:56:58 +00:00
2014-05-15 23:56:58 +00:00
2014-08-24 01:50:11 +00:00
2014-05-15 23:56:58 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-09-10 14:57:20 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-05-15 23:56:58 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-09-08 14:12:04 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-05-15 23:56:58 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-05-15 22:32:17 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-05-16 13:01:06 +00:00
2014-08-07 21:03:25 +00:00
2014-08-24 01:50:11 +00:00
2014-05-16 13:01:29 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-05-16 13:01:06 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-05-16 13:01:06 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-05-15 23:56:58 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-05-15 22:32:17 +00:00
2014-03-30 00:02:23 +00:00
2014-07-04 10:35:10 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-05-15 22:32:17 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-05-16 13:01:06 +00:00
2014-08-24 01:50:11 +00:00
2014-05-15 22:32:17 +00:00
2013-11-12 18:06:37 +00:00
2014-08-05 22:01:52 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-05-16 13:01:06 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-05-16 13:01:06 +00:00
2014-05-16 13:01:06 +00:00
2014-03-30 00:02:23 +00:00
2014-05-15 23:56:58 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-09-10 16:52:01 +00:00
2014-05-15 22:32:17 +00:00
2014-05-16 13:01:06 +00:00
2014-03-30 00:02:23 +00:00
2014-04-12 15:42:32 +00:00
2014-05-15 22:32:17 +00:00
2014-03-30 00:02:23 +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
2013-11-21 13:47:05 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2013-09-06 17:09:16 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-08-24 01:50:11 +00:00
2014-05-16 13:01:06 +00:00
2014-05-15 23:56:58 +00:00
2014-05-15 22:32:17 +00:00
2014-05-15 22:32:17 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00