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
This commit is contained in:
Vadim Zeitlin 2009-01-17 13:01:47 +00:00
parent f5f936175f
commit 9ebfc96354

View 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 );