Use correct line numbers in assert failures in event propagation test.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 4 May 2013 23:59:40 +0000 (23:59 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 4 May 2013 23:59:40 +0000 (23:59 +0000)
commit9fe942190d37a761f3cf74d8ba72ae91612140ba
treeea8e3c7d5a62a43b1d3c5f0c28996f69b596aa86
parentee05c45dff5556d97709407985d53f5d782416ef
Use correct line numbers in assert failures in event propagation test.

Replace the calls to CheckMenuEvent() helper with ASSERT_MENU_EVENT_RESULT()
macro to allow passing the correct line number to cppunit assertion function,
otherwise the line number of CheckMenuEvent() was always used in case of
failure.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
tests/events/propagation.cpp