blind compilation fix for TestScopeGuard()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ff2baa25d5
commit
eb42e596aa
1 changed files with 3 additions and 3 deletions
|
|
@ -2113,9 +2113,9 @@ static void TestScopeGuard()
|
|||
wxON_BLOCK_EXIT2(function2, 3.14, 'p');
|
||||
|
||||
Object obj;
|
||||
wxON_BLOCK_EXIT_OBJ0(obj, &Object::method0);
|
||||
wxON_BLOCK_EXIT_OBJ1(obj, &Object::method1, 7);
|
||||
wxON_BLOCK_EXIT_OBJ2(obj, &Object::method2, 2.71, 'e');
|
||||
wxON_BLOCK_EXIT_OBJ0(obj, Object::method0);
|
||||
wxON_BLOCK_EXIT_OBJ1(obj, Object::method1, 7);
|
||||
wxON_BLOCK_EXIT_OBJ2(obj, Object::method2, 2.71, 'e');
|
||||
|
||||
wxScopeGuard dismissed = wxMakeGuard(function0);
|
||||
dismissed.Dismiss();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue