From 5015e02267f08516004b0cea784af9e7031078d7 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 6 Apr 2003 19:40:54 +0000 Subject: [PATCH] fix bug with not accepting write-only formats in d&d git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/ole/dataobj.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/ole/dataobj.cpp b/src/msw/ole/dataobj.cpp index 0a594fd69f..45d796c51c 100644 --- a/src/msw/ole/dataobj.cpp +++ b/src/msw/ole/dataobj.cpp @@ -439,7 +439,7 @@ STDMETHODIMP wxIDataObject::SetData(FORMATETC *pformatetc, // as we can't fix this bug in explorer (it's a bug because it // should only use formats returned by EnumFormatEtc), do the // check here - if ( !m_pDataObject->IsSupportedFormat(format) ) { + if ( !m_pDataObject->IsSupported(format, wxDataObject::Set) ) { // go away! return DV_E_FORMATETC; } -- 2.47.2