/**
-
wxWeakRefDynamic<T> is a template class for weak references that is used in
the same way as wxWeakRef<T>. The only difference is that wxWeakRefDynamic
defaults to using @c dynamic_cast for establishing the object reference
For API documentation, see: wxWeakRef<T>.
@tparam T
- @todo docme
+ The type to which the smart pointer points to.
@nolibrary
@category{smartpointers}
@endcode
@tparam T
- @todo docme
+ The type to which the smart pointer points to.
@nolibrary
@category{smartpointers}
class wxWeakRef<T> : public wxTrackerNode
{
public:
+ /// Type of the element stored by this reference.
+ typedef T element_type;
+
/**
Constructor. The weak reference is initialized to @e pobj.
*/
/**
Destructor.
*/
- ~wxWeakRef();
+ virtual ~wxWeakRef();
/**
Called when the tracked object is destroyed. Be default sets