name & operator=(name const &); \
\
public: \
- wxEXPLICIT name(T * ptr = NULL) \
+ wxEXPLICIT name(T * ptr = NULL) \
: m_ptr(ptr) { } \
\
~name(); \
} \
} \
\
+ T *release() \
+ { \
+ T *ptr = m_ptr; \
+ m_ptr = NULL; \
+ return ptr; \
+ } \
+ \
T & operator*() const \
{ \
wxASSERT(m_ptr != NULL); \