From: Vadim Zeitlin Date: Sat, 17 Jan 2009 13:01:47 +0000 (+0000) Subject: compilation fix for VC7 which seems to somehow lose the default value for PopEventHan... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9ebfc96354a711c59715b2ce7be800453c2a2eea compilation fix for VC7 which seems to somehow lose the default value for PopEventHandler() parameter inside scope guard templates git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/events/propagation.cpp b/tests/events/propagation.cpp index 43adbd39d7..e0918af3aa 100644 --- a/tests/events/propagation.cpp +++ b/tests/events/propagation.cpp @@ -198,10 +198,10 @@ void EventPropagationTestCase::WindowWithHandler() TestEvtHandler h1('1'); child->PushEventHandler(&h1); - wxON_BLOCK_EXIT_OBJ0( *child, wxWindow::PopEventHandler ); + wxON_BLOCK_EXIT_OBJ1( *child, wxWindow::PopEventHandler, false ); TestEvtHandler h2('2'); child->PushEventHandler(&h2); - wxON_BLOCK_EXIT_OBJ0( *child, wxWindow::PopEventHandler ); + wxON_BLOCK_EXIT_OBJ1( *child, wxWindow::PopEventHandler, false ); child->HandleWindowEvent(event); CPPUNIT_ASSERT_EQUAL( "oa2o1cpA", g_str );