From: Vadim Zeitlin Date: Fri, 21 Oct 2005 17:33:42 +0000 (+0000) Subject: blind compilation fix for TestScopeGuard() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/eb42e596aa6d70dd6fed7a69e6e2ea471dba1d4f blind compilation fix for TestScopeGuard() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/console/console.cpp b/samples/console/console.cpp index 41bff6ecb8..7348a317d0 100644 --- a/samples/console/console.cpp +++ b/samples/console/console.cpp @@ -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();