2 \section{\class{wxTrackableBase
}}\label{wxtrackablebase
}
4 Add-on base class for a trackable object. This class maintains
5 an internal linked list of classes of type wxTrackerNode and
6 calls OnObjectDestroy() on them if this object is destroyed.
7 The most common usage is by using the
\helpref{wxWeakRef<T>
}{wxweakref
}
8 class template which automates this. This class has no public
9 API. Its only use is by deriving another class from it to
13 class MyClass: public Foo, public TrackableBase
18 typedef wxWeakRef<MyClass> MyClassRef;
21 \wxheading{Derived from
}
25 \wxheading{Include files
}
29 \wxheading{Data structures
}
32 \section{\class{wxTrackable
}}\label{wxtrackable
}
34 The only difference to
\helpref{wxTrackableBase
}{wxtrackablebase
} is
35 that this class adds a virtual table to enable dynamic
\_cast query for
38 \wxheading{Derived from
}
40 \helpref{wxTrackableBase
}{wxtrackablebase
}
42 \wxheading{Include files
}
46 \wxheading{Data structures
}