X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/808cbd174a5c7d0946df7dcaf1891e881a94f64f..f86190702bb433f139dc2c335e2c551755def81f:/src/osx/dnd_osx.cpp?ds=inline diff --git a/src/osx/dnd_osx.cpp b/src/osx/dnd_osx.cpp index b64858930a..351d2b4007 100644 --- a/src/osx/dnd_osx.cpp +++ b/src/osx/dnd_osx.cpp @@ -4,7 +4,7 @@ // Author: Stefan Csomor // Modified by: // Created: 1998-01-01 -// RCS-ID: $Id: dnd.cpp 61724 2009-08-21 10:41:26Z VZ $ +// RCS-ID: $Id$ // Copyright: (c) 1998 Stefan Csomor // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -36,7 +36,7 @@ wxDragResult wxDropTarget::OnDragOver( 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; } @@ -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();