// Author: Stefan Csomor
// Modified by:
// Created: 1998-01-01
-// RCS-ID: $Id$
// Copyright: (c) 1998 Stefan Csomor
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
for (size_t i = 0; !supported && i < formatcount; i++)
{
wxDataFormat format = array[i];
- if ( m_dataObject->IsSupported( format ) )
+ if ( m_dataObject->IsSupported( format, wxDataObject::Set ) )
{
supported = true;
break;
for (size_t i = 0; !transferred && i < formatcount; i++)
{
wxDataFormat format = array[i];
- if ( m_dataObject->IsSupported( format ) )
+ if ( m_dataObject->IsSupported( format, wxDataObject::Set ) )
{
int size = data->GetDataSize( format );
transferred = true;