]> git.saurik.com Git - wxWidgets.git/blame - interface/tracker.h
remove misleading documentation of minPage in GetPageInfo() (see ticket #9502)
[wxWidgets.git] / interface / tracker.h
CommitLineData
23324ae1
FM
1/////////////////////////////////////////////////////////////////////////////
2// Name: tracker.h
e54c96f1 3// Purpose: interface of wxTrackable
23324ae1
FM
4// Author: wxWidgets team
5// RCS-ID: $Id$
6// Licence: wxWindows license
7/////////////////////////////////////////////////////////////////////////////
8
9/**
10 @class wxTrackable
11 @wxheader{tracker.h}
7c913512 12
7977b62a
BP
13 Add-on base class for a trackable object. This class maintains an internal
14 linked list of classes of type wxTrackerNode and calls OnObjectDestroy() on
15 them if this object is destroyed. The most common usage is by using the
16 wxWeakRef<T> class template which automates this. This class has no public
17 API. Its only use is by deriving another class from it to make it trackable.
7c913512 18
23324ae1
FM
19 @code
20 class MyClass: public Foo, public wxTrackable
21 {
7977b62a 22 // whatever
23324ae1 23 }
7c913512 24
7977b62a 25 typedef wxWeakRef<MyClass> MyClassRef;
23324ae1 26 @endcode
7c913512 27
23324ae1 28 @library{wxbase}
7977b62a 29 @category{smartpointers}
23324ae1 30*/
7c913512 31class wxTrackable
23324ae1
FM
32{
33public:
7c913512 34
23324ae1 35};
e54c96f1 36