#include <wx/scopeguard.h>
Scope guard is an object which allows executing an action on scope exit.
The objects of this class must be constructed using wxMakeGuard() function.
Public Member Functions | |
void | Dismiss () |
Call this method to dismiss the execution of the action on scope exit. More... | |
void wxScopeGuard::Dismiss | ( | ) |
Call this method to dismiss the execution of the action on scope exit.
A typical example: