// Name : wxIDropTarget::DragLeave // Purpose : Informs the drop target that the operation has left its window. // Returns : S_OK // Notes : good place to do any clean-up STDMETHODIMP wxIDropTarget::DragLeave() { wxLogTrace(wxTRACE_OleCalls, wxT("IDropTarget::DragLeave")); // remove the UI feedback m_pTarget->OnLeave(); // release the held object RELEASE_AND_NULL(m_pIDataObject); return S_OK; }
bool CIDropTarget::DragLeave() { // // Remove the UI feedback // m_pTarget->OnLeave(); // // Release the held object // Free(); return true; } // end of CIDropTarget::DragLeave