]> git.saurik.com Git - wxWidgets.git/commitdiff
blind compilation fix for TestScopeGuard()
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 21 Oct 2005 17:33:42 +0000 (17:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 21 Oct 2005 17:33:42 +0000 (17:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/console/console.cpp

index 41bff6ecb8606341211cab8f42723d3b935a5a88..7348a317d0a1faea5c6fbbe8485d37fca7fb1925 100644 (file)
@@ -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();