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
..
any Remove MSVC6 support. 2014-05-15 22:32:17 +00:00
archive Remove support for Digital Mars compiler. 2014-05-16 13:01:23 +00:00
arrays Fix inserting an element of wxArrayString itself back into it. 2014-07-13 14:30:22 +00:00
base64
benchmarks Merge wxQT branch into the trunk. 2014-08-24 01:50:11 +00:00
cmdline Fix wxCmdLineParser::Found(name) for options with values. 2014-02-20 00:32:47 +00:00
config
controls Add wxUIActionSimulator::Select(). 2014-09-10 16:52:01 +00:00
datetime Add support for "%V" and "%G" to wxDateTime::Format(). 2014-08-03 12:47:36 +00:00
drawing Add simple font tests for the drawing unit test. 2014-05-17 12:29:21 +00:00
events Disable another wxStopWatch test case in the build bot builds. 2014-05-22 15:13:16 +00:00
exec
file
filekind
filename Don't change a shortcut file name when changing its path. 2014-08-29 23:22:05 +00:00
filesys
font Disable a harmless deprecation MSVC warning for wxNORMAL in a test. 2014-08-03 12:47:32 +00:00
fontmap
formatconverter
fswatcher Remove MSVC6 support. 2014-05-15 22:32:17 +00:00
geometry
graphics No changes, just update the file name in the header. 2014-07-26 10:50:38 +00:00
hashes Remove obsolete MSVC version tests. 2014-05-16 13:01:29 +00:00
html
image Remove MSVC6 support. 2014-05-15 22:32:17 +00:00
interactive
intl
lists
log Remove MSVC6 support. 2014-05-15 22:32:17 +00:00
longlong Remove MSVC6 support. 2014-05-15 22:32:17 +00:00
mbconv
menu Fix exception while reinserting menu item. 2014-06-23 20:00:42 +00:00
misc Fix wxCALL_FOR_EACH() to work with more than 2 arguments with MSVC. 2014-09-14 00:59:53 +00:00
net
regex Remove MSVC6 support. 2014-05-15 22:32:17 +00:00
scopeguard
sizers
streams Remove wxPM, wxWidgets port to OS/2. 2014-05-15 23:56:58 +00:00
strings reverting incorrect change 2014-07-07 05:16:33 +00:00
textfile Fix failing TextFileTestCase::ReadMixedWithFuzzing(). 2014-02-06 10:15:06 +00:00
thread
toplevel
uris Update the URL of the web site images used in the test. 2014-03-06 13:53:14 +00:00
validators
vectors
weakref Remove MSVC6 support. 2014-05-15 22:32:17 +00:00
window
xlocale
xml
asserthelper.cpp Replace anonymous namespace with a named one in the test helpers. 2014-07-14 19:17:12 +00:00
asserthelper.h Replace anonymous namespace with a named one in the test helpers. 2014-07-14 19:17:12 +00:00
descrip.mms
dummy.cpp
horse.ani
horse.bmp
horse.cur
horse.gif
horse.ico
horse.jpg
horse.pcx
horse.png
horse.pnm
horse.tga
horse.tif
horse.xpm
makefile.bcc Implement bounding box computations for wxGDDC. 2014-07-26 01:34:50 +00:00
makefile.gcc Implement bounding box computations for wxGDDC. 2014-07-26 01:34:50 +00:00
Makefile.in Merge wxQT branch into the trunk. 2014-08-24 01:50:11 +00:00
makefile.vc Implement bounding box computations for wxGDDC. 2014-07-26 01:34:50 +00:00
runtests.bat
test_vc7_printfbench.vcproj
test_vc7_test_drawing.vcproj Add simple font tests for the drawing unit test. 2014-05-17 12:29:21 +00:00
test_vc7_test_drawingplugin.vcproj Don't build drawing test plugin in static builds. 2014-05-16 10:53:55 +00:00
test_vc7_test_gui.vcproj Implement bounding box computations for wxGDDC. 2014-07-26 01:34:50 +00:00
test_vc7_test.vcproj Remove support for Win9x from wxMSW. 2014-05-16 02:33:40 +00:00
test_vc8_printfbench.vcproj
test_vc8_test_drawing.vcproj Generate 64 bit configurations in MSVC 8/9 projects. 2014-06-24 23:54:08 +00:00
test_vc8_test_drawingplugin.vcproj Generate 64 bit configurations in MSVC 8/9 projects. 2014-06-24 23:54:08 +00:00
test_vc8_test_gui.vcproj Implement bounding box computations for wxGDDC. 2014-07-26 01:34:50 +00:00
test_vc8_test.vcproj Generate 64 bit configurations in MSVC 8/9 projects. 2014-06-24 23:54:08 +00:00
test_vc9_printfbench.vcproj
test_vc9_test_drawing.vcproj Generate 64 bit configurations in MSVC 8/9 projects. 2014-06-24 23:54:08 +00:00
test_vc9_test_drawingplugin.vcproj Generate 64 bit configurations in MSVC 8/9 projects. 2014-06-24 23:54:08 +00:00
test_vc9_test_gui.vcproj Implement bounding box computations for wxGDDC. 2014-07-26 01:34:50 +00:00
test_vc9_test.vcproj Generate 64 bit configurations in MSVC 8/9 projects. 2014-06-24 23:54:08 +00:00
test.bkl Implement bounding box computations for wxGDDC. 2014-07-26 01:34:50 +00:00
test.cpp
testableframe.cpp Ensure that wxTestableFrame is shown on the (main) screen. 2014-05-27 17:27:10 +00:00
testableframe.h
testdata.fc
testdate.h
testfile.h
testimage.h
testprec.h Remove MSVC6 support. 2014-05-15 22:32:17 +00:00