\membersection{wxCustomDataObject::Free}\label{wxcustomdataobjectfree}
-\pythonnote{This method expects a string in wxPython. You can pass
-nearly any object by pickling it first.}
-
\func{virtual void}{Free}{\void}
This function is called when the data is freed, you may override it to anything
Set the data. The data object will make an internal copy.
+\pythonnote{This method expects a string in wxPython. You can pass
+nearly any object by pickling it first.}
+
\membersection{wxCustomDataObject::TakeData}\label{wxcustomdataobjecttakedata}
\func{virtual void}{TakeData}{
Like \helpref{SetData}{wxcustomdataobjectsetdata}, but doesn't copy the data -
instead the object takes ownership of the pointer.
+\pythonnote{This method expects a string in wxPython. You can pass
+nearly any object by pickling it first.}
+