// Author: Stefan Csomor
// Modified by:
// Created: 1998-01-01
-// RCS-ID: $Id: dnd.cpp 61724 2009-08-21 10:41:26Z VZ $
// Copyright: (c) 1998 Stefan Csomor
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
wxDataFormat wxDropTarget::GetMatchingPair()
{
- wxFAIL_MSG("wxDropTarget::GetMatchingPair() not implemented in src/osx/carbon/dnd.cpp");
+ wxFAIL_MSG("wxDropTarget::GetMatchingPair() not implemented in src/osx/dnd_osx.cpp");
return wxDF_INVALID;
}
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;
bool wxDropSource::MacInstallDefaultCursor(wxDragResult effect)
{
const wxCursor& cursor = GetCursor(effect);
- bool result = cursor.Ok();
+ bool result = cursor.IsOk();
if ( result )
cursor.MacInstall();