X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/80fdcdb90ef779185492dab676d461fc34933312..60372b0d54379701d62edf5595a7dc25c48330e1:/src/osx/dnd_osx.cpp diff --git a/src/osx/dnd_osx.cpp b/src/osx/dnd_osx.cpp index fc2e684f2d..351d2b4007 100644 --- a/src/osx/dnd_osx.cpp +++ b/src/osx/dnd_osx.cpp @@ -79,7 +79,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 +119,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; @@ -164,7 +164,7 @@ wxDropSource::~wxDropSource() bool wxDropSource::MacInstallDefaultCursor(wxDragResult effect) { const wxCursor& cursor = GetCursor(effect); - bool result = cursor.Ok(); + bool result = cursor.IsOk(); if ( result ) cursor.MacInstall();