added convenient wxON_BLOCK_EXIT_THISn() macros wrapping wxON_BLOCK_EXIT_OBJn(*this)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -44,3 +44,16 @@
|
||||
#define wxON_BLOCK_EXIT_OBJ2(object, method, p1, p2)
|
||||
//@}
|
||||
|
||||
/** @ingroup group_funcmacro_misc */
|
||||
//@{
|
||||
/**
|
||||
This family of macros is similar to wxON_BLOCK_OBJ0(), but calls a method
|
||||
of @c this object instead of a method of the specified object.
|
||||
|
||||
@header{wx/scopeguard.h}
|
||||
*/
|
||||
#define wxON_BLOCK_EXIT_THIS0(method)
|
||||
#define wxON_BLOCK_EXIT_THIS1(method, p1)
|
||||
#define wxON_BLOCK_EXIT_THIS2(method, p1, p2)
|
||||
//@}
|
||||
|
||||
|
Reference in New Issue
Block a user