X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23324ae1c7938ba904770fc456d3c07764b9c5e9..4cfcb00f0076acc87833f52ecde7c9fdbfc16f78:/interface/tracker.h?ds=sidebyside diff --git a/interface/tracker.h b/interface/tracker.h index 7c4e02f1c5..64484b10d1 100644 --- a/interface/tracker.h +++ b/interface/tracker.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: tracker.h -// Purpose: documentation for wxTrackable class +// Purpose: interface of wxTrackable // Author: wxWidgets team // RCS-ID: $Id$ // Licence: wxWindows license @@ -9,29 +9,30 @@ /** @class wxTrackable @wxheader{tracker.h} - + Add-on base class for a trackable object. This class maintains an internal linked list of classes of type wxTrackerNode and calls OnObjectDestroy() on them if this object is destroyed. - The most common usage is by using the wxWeakRefT + The most common usage is by using the wxWeakRefT() class template which automates this. This class has no public API. Its only use is by deriving another class from it to make it trackable. - + @code class MyClass: public Foo, public wxTrackable { // whatever } - + typedef wxWeakRefMyClass MyClassRef; @endcode - + @library{wxbase} @category{FIXME} */ -class wxTrackable +class wxTrackable { public: - + }; +