wxWidgets/tests
Vadim Zeitlin de5ba70203 Fix handling events from their items in submenu itself
This previously worked in wxGTK, but not in wxMSW and even under wxGTK
it could be surprising that the submenu got the event, but its parent
menu did not.

Make things consistent between the platforms and send the event to the
menu directly containing it first, but then also to its parent menu(s).

Document the new behaviour and verify that it works as intended with a
new unit test.

Closes #18202.
2018-08-25 02:36:45 +02:00
..
any Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
archive Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
arrays Fix using WX_DECLARE_OBJARRAY() with pointer types 2018-07-15 14:48:08 +02:00
base64 Fix harmless warning in Base64 unit test 2017-12-09 14:15:37 +01:00
benchmarks Update version to 3.1.2 2018-02-20 00:08:01 +01:00
cmdline Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
config Fix harmless signed/unsigned comparison warnings in a test 2017-11-02 01:53:21 +01:00
controls Test that wxTreeCtrl::DeleteAllItems() does send events 2018-08-14 17:50:28 +02:00
datetime Simplify wxDateTime ticks test by only using UTC times 2017-12-02 14:38:45 +01:00
drawing Merge branch 'rmv_symbols_3' of https://github.com/catalinr/wxWidgets 2017-02-20 17:46:45 +01:00
events Fix handling events from their items in submenu itself 2018-08-25 02:36:45 +02:00
exec Avoid launching interactive programs in unattended tests 2017-11-05 17:16:39 +01:00
file Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
filekind Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
filename Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
filesys Return valie file URLs from wxFileSystem::FileNameToURL() 2016-02-05 22:43:23 +01:00
font Consistently use "unsigned" and "%u" in font unit test 2017-11-24 22:55:11 +01:00
fontmap Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
formatconverter Fix FormatConverterTestCase for MinGW and Cygwin 2017-11-25 11:13:02 +01:00
fswatcher Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
fuzz Add a helper for running fuzz function with a single input 2017-10-28 15:12:14 +02:00
geometry Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
graphics Remove unused variable in graphpath test 2018-07-29 16:29:36 +02:00
hashes Don't use gcc 4.8 workaround in the hash test with clang 2017-03-11 03:37:07 +01:00
html Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
image Fix image unit test compilation when wxUSE_GIF==0 2018-06-20 18:15:38 +02:00
interactive Fix type casts and invalid format specifiers in interactive tests 2018-07-29 16:29:35 +02:00
intl Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
lists Make wxList iterators conform to input iterator requirements 2018-02-23 16:00:06 +01:00
log Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
longlong Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
mbconv Correct UTF-8 encoding of U+FFFF 2018-01-29 00:48:56 +01:00
menu Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
misc Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
net Replace remaining std::auto_ptr<> with wxScopedPtr in the tests 2017-11-14 00:06:18 +01:00
persistence Fix saving/restoring window position for maximized windows 2018-04-29 20:35:44 +02:00
regex Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
scopeguard
sizers Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
streams Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
strings Fix printf tests for recent MinGW versions 2018-08-02 21:10:20 +02:00
textfile Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
thread Fix type cast warning in thread test 2018-07-29 16:29:36 +02:00
toplevel Enable running TLW activation unit tests in CI environments 2018-06-22 02:44:40 +02:00
uris Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
validators Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
vectors Make wxVector reverse iterators conform to iterator requirements 2018-02-23 16:14:03 +01:00
weakref Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
window Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
xlocale Check for wxXLocale availability without using wxLocale 2017-12-09 14:17:34 +01:00
xml Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
asserthelper.cpp
asserthelper.h
descrip.mms Update OpenVMS makefile for change from cppunit to catch 2017-11-30 12:23:02 +01: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 Convert all XPM files to Unix EOLs. 2015-03-19 21:46:05 +01:00
makefile.bcc Add unit test for current point of wxGraphicsPath 2018-07-02 20:08:30 +02:00
makefile.gcc Add unit test for current point of wxGraphicsPath 2018-07-02 20:08:30 +02:00
Makefile.in Add unit test for current point of wxGraphicsPath 2018-07-02 20:08:30 +02:00
makefile.vc Add unit test for current point of wxGraphicsPath 2018-07-02 20:08:30 +02:00
runtests.bat Don't use "-t" option when running tests any longer 2017-11-02 01:53:29 +01:00
test_gui_vc10.sln Add MSVS 2010, 2012, 2013 and 2015 projects for the tests 2016-02-05 22:43:23 +01:00
test_gui_vc11.sln Add MSVS 2010, 2012, 2013 and 2015 projects for the tests 2016-02-05 22:43:23 +01:00
test_gui_vc12.sln Add MSVS 2010, 2012, 2013 and 2015 projects for the tests 2016-02-05 22:43:23 +01:00
test_gui_vc14.sln Add MSVS 2010, 2012, 2013 and 2015 projects for the tests 2016-02-05 22:43:23 +01:00
test_gui_vc15.sln Add MSVS 2017 solution file for the tests 2017-03-11 17:55:08 +01:00
test_gui.vcxproj Add unit test for current point of wxGraphicsPath 2018-07-02 20:08:30 +02:00
test_gui.vcxproj.filters Add unit test for current point of wxGraphicsPath 2018-07-02 20:08:30 +02:00
test_vc7_test_drawing.vcproj Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
test_vc7_test_drawingplugin.vcproj Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
test_vc7_test_gui.vcproj Add unit test for current point of wxGraphicsPath 2018-07-02 20:08:30 +02:00
test_vc7_test.vcproj Add unit test for wxLZMA{Input,Output}Stream classes 2018-04-06 15:39:55 +02:00
test_vc8_test_drawing.vcproj Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
test_vc8_test_drawingplugin.vcproj Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
test_vc8_test_gui.vcproj Add unit test for current point of wxGraphicsPath 2018-07-02 20:08:30 +02:00
test_vc8_test.vcproj Add unit test for wxLZMA{Input,Output}Stream classes 2018-04-06 15:39:55 +02:00
test_vc9_test_drawing.vcproj Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
test_vc9_test_drawingplugin.vcproj Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
test_vc9_test_gui.vcproj Add unit test for current point of wxGraphicsPath 2018-07-02 20:08:30 +02:00
test_vc9_test.vcproj Add unit test for wxLZMA{Input,Output}Stream classes 2018-04-06 15:39:55 +02:00
test_vc10.sln Enable building the unit tests for x64 in MSVS solutions 2017-11-25 11:13:02 +01:00
test_vc11.sln Enable building the unit tests for x64 in MSVS solutions 2017-11-25 11:13:02 +01:00
test_vc12.sln Enable building the unit tests for x64 in MSVS solutions 2017-11-25 11:13:02 +01:00
test_vc14.sln Enable building the unit tests for x64 in MSVS solutions 2017-11-25 11:13:02 +01:00
test_vc15.sln Enable building the unit tests for x64 in MSVS solutions 2017-11-25 11:13:02 +01:00
test.bkl Add unit test for current point of wxGraphicsPath 2018-07-02 20:08:30 +02:00
test.cpp Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
test.vcxproj Add unit test for wxLZMA{Input,Output}Stream classes 2018-04-06 15:39:55 +02:00
test.vcxproj.filters Add unit test for wxLZMA{Input,Output}Stream classes 2018-04-06 15:39:55 +02:00
testableframe.cpp Show wxTestableFrame from its ctor 2016-02-27 02:41:18 +01:00
testableframe.h
testdata.fc
testdate.h Include testdate.h before catch.hpp in unit tests 2017-12-02 14:38:19 +01:00
testfile.h Factor out TempFile class and reuse it in other tests 2017-11-05 17:28:24 +01:00
testimage.h Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
testprec.h Fix printf tests for recent MinGW versions 2018-08-02 21:10:20 +02:00