|
wxArt2D
|
help class which makes it possible to store a smart pointer as a wxObject* More...
#include <comevt.h>


Public Member Functions | |
| a2dSmrtPtrWrap (T *caller) | |
Public Attributes | |
| a2dSmrtPtr< T > | m_smrtP |
help class which makes it possible to store a smart pointer as a wxObject*
If a class X has a member wxObject* m_obj, this pointer can normally not be used for storing a a2dSmrtPtr which is a template class not derived from wxObject. This class here is wxObject derived, and the smart pointer is maintained within. On deletion of this class it will delete the smart pointer, releasing the object pointed to.