]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for VC7 which seems to somehow lose the default value for PopEventHan...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 17 Jan 2009 13:01:47 +0000 (13:01 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 17 Jan 2009 13:01:47 +0000 (13:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/events/propagation.cpp

index 43adbd39d788e878dac13cf8d1bcd061637c401e..e0918af3aa19729e287e29f395a6c9520cf4ffa9 100644 (file)
@@ -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 );