return S_OK;
}
+#ifdef __DIGITALMARS__
+extern "C"
+size_t wxDataObjectComposite::GetBufferOffset( const wxDataFormat& format );
+
+extern "C"
+const void* wxDataObjectComposite::GetSizeFromBuffer( const void* buffer,
+ size_t* size,
+ const wxDataFormat& format ) ;
+extern "C"
+void* wxDataObjectComposite::SetSizeInBuffer( void* buffer, size_t size,
+ const wxDataFormat& format ) ;
+
+#endif
+
// set data functions
STDMETHODIMP wxIDataObject::SetData(FORMATETC *pformatetc,
STGMEDIUM *pmedium,
// 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;
}