]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/scopeguard.h
really fix the length of the string returned by wxConvertStringToOle() (#10056)
[wxWidgets.git] / interface / wx / scopeguard.h
index 55ea677e2290e813b4fbba0c439f56b650b38097..01887eb6039cb97eff96c82828140dd26ed6d0f7 100644 (file)
@@ -131,6 +131,9 @@ wxScopeGuard wxMakeGuard(F func, P1 p1, ..., PN pN);
     }
     @endcode
 
+    Notice that @a value is copied, i.e. stored by value, so it can be a
+    temporary object returned by a function call, for example.
+
     @see wxON_BLOCK_EXIT_OBJ0(), wxON_BLOCK_EXIT_NULL()
 
     @header{wx/scopeguard.h}