X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1b806b98241ab649c169aaa1f134df85e80fb8b..71a09c3579dd5cb4cd8fa7fdc143561cbff74e12:/src/osx/dnd_osx.cpp diff --git a/src/osx/dnd_osx.cpp b/src/osx/dnd_osx.cpp index 46c93cf148..ab6f153b53 100644 --- a/src/osx/dnd_osx.cpp +++ b/src/osx/dnd_osx.cpp @@ -4,7 +4,6 @@ // Author: Stefan Csomor // Modified by: // Created: 1998-01-01 -// RCS-ID: $Id$ // Copyright: (c) 1998 Stefan Csomor // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -79,7 +78,7 @@ bool wxDropTarget::CurrentDragHasSupportedFormat() 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; @@ -119,7 +118,7 @@ bool wxDropTarget::GetData() 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;