wxDragResult def )
{
if (!m_dataObject)
- return FALSE;
+ return wxDragNone;
if (GetMatchingPair() == (GdkAtom) 0)
- return FALSE;
+ return wxDragNone;
return GetData() ? def : wxDragNone;
}
wxDataFormat format( formatAtom );
#ifdef __WXDEBUG__
- char *name = gdk_atom_name( formatAtom );
- wxLogDebug("Drop target: drag has format: %s", name ? name : "unnamed");
+ wxLogDebug("Drop target: drag has format: %s", format.GetId().c_str() );
#endif // Debug
if (m_dataObject->IsSupportedFormat( format ))
if (source->m_dragContext->action == GDK_ACTION_COPY) action = wxDragCopy;
if (source->m_dragContext->action == GDK_ACTION_MOVE) action = wxDragMove;
- source->GiveFeedback( action, FALSE );
+ source->GiveFeedback( action );
return 0;
}