+ /**
+ Returns the client object associated with the given item and transfers
+ its ownership to the caller.
+
+ This method, unlike GetClientObject(), expects the caller to delete the
+ returned pointer. It also replaces the internally stored pointer with
+ @NULL, i.e. completely detaches the client object pointer from the
+ control.
+
+ It's an error to call this method unless HasClientObjectData() returns
+ @true.
+
+ @param n
+ The zero-based item index.
+ @return The associated client object pointer to be deleted by caller or
+ @NULL.
+
+ @since 2.9.2
+ */
+ wxClientData *DetachClientObject(unsigned int n);
+