- @wxheader{weakref.h}
-
- wxWeakRef is a template class for weak references to wxWidgets objects,
- such as wxEvtHandler, wxWindow and
- wxObject. A weak reference behaves much like an ordinary
- pointer, but when the object pointed is destroyed, the weak reference is
- automatically reset to a @NULL pointer.
+ wxWeakRef<T> is a template class for weak references to wxWidgets objects,
+ such as wxEvtHandler, wxWindow and wxObject.
+ A weak reference behaves much like an ordinary pointer, but when the object
+ pointed is destroyed, the weak reference is automatically reset to a @NULL pointer.