wxWidgets/tests
Vadim Zeitlin 66b370d05f Rewrite wxLogXXX() macros to avoid "ambiguous else" warnings.
Use a dummy for loop instead of an if statement to avoid all problems with the
dangling else clauses: both the need for an artificially inversed "if" to make
the code like

	if ( something )
		wxLogError("...");
	else
		something-else;

to work as expected and to avoid warnings given by some versions of g++ and
clang for the code above advising to add explicit braces.

Closes #11829.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-08-31 17:41:16 +00:00
..
any Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
archive Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
arrays Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
base64 Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
benchmarks Removed a method using wxColour from non-GUI benchmark code. 2013-08-31 17:41:13 +00:00
cmdline Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
config Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
controls Don't generate any events from wxSpinCtrl and wxSpinCtrlDouble methods. 2013-08-06 17:00:00 +00:00
datetime Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
events Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
exec Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
file Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
filekind Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
filename Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
filesys Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
font Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
fontmap Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
formatconverter Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
fswatcher Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
geometry Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
graphics Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
hashes Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
html Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
image Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
interactive Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
intl Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
lists Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
log Rewrite wxLogXXX() macros to avoid "ambiguous else" warnings. 2013-08-31 17:41:16 +00:00
longlong Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
mbconv Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
menu Fix wxMenu::GetTitle() before the menu is appended to the menu bar. 2013-08-30 23:32:37 +00:00
misc Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
net Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
regex Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
scopeguard Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
sizers Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
streams Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
strings Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
textfile Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
thread Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
toplevel Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
uris Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
validators Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
vectors Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
weakref Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
window Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
xlocale Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
xml Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
asserthelper.cpp Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
asserthelper.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
descrip.mms Fixes for OpenVMS on IA64 2011-09-29 13:47:38 +00:00
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 Rebake all the samples and others makefiles too. 2013-07-13 02:33:00 +00:00
makefile.gcc Rebake all the samples and others makefiles too. 2013-07-13 02:33:00 +00:00
Makefile.in Only link with libwxscintilla if using Scintilla is enabled. 2013-07-06 19:14:59 +00:00
makefile.vc Rebake all the samples and others makefiles too. 2013-07-13 02:33:00 +00:00
makefile.wat Rebake all the samples and others makefiles too. 2013-07-13 02:33:00 +00:00
runtests.bat Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
test_printfbench.dsp
test_test_gui.dsp Rebake the rest of the files after TOOLKIT change in MSW bakefile. 2013-07-06 12:32:23 +00:00
test_test.dsp Rebake the rest of the files after TOOLKIT change in MSW bakefile. 2013-07-06 12:32:23 +00:00
test_vc7_printfbench.vcproj
test_vc7_test_gui.vcproj Always add libwxscintilla in monolithic mode. 2013-07-06 12:41:02 +00:00
test_vc7_test.vcproj Add wxEventLoop::ScheduleExit(). 2013-07-03 00:26:13 +00:00
test_vc8_printfbench.vcproj
test_vc8_test_gui.vcproj Always add libwxscintilla in monolithic mode. 2013-07-06 12:41:02 +00:00
test_vc8_test.vcproj Add wxEventLoop::ScheduleExit(). 2013-07-03 00:26:13 +00:00
test_vc9_printfbench.vcproj
test_vc9_test_gui.vcproj Always add libwxscintilla in monolithic mode. 2013-07-06 12:41:02 +00:00
test_vc9_test.vcproj Add wxEventLoop::ScheduleExit(). 2013-07-03 00:26:13 +00:00
test.bkl Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
test.cpp Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
testableframe.cpp Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
testableframe.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
testdata.fc
testdate.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
testfile.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
testimage.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
testprec.h Fix totally broken LocaleSetter class in the test suite. 2013-07-15 01:31:47 +00:00