// Name: wx/gtk/dnd.h
// Purpose: declaration of the wxDropTarget class
// Author: Robert Roebling
-// RCS-ID: $Id$
// Copyright: (c) 1998 Vadim Zeitlin, Robert Roebling
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
virtual ~wxDropSource();
+ // set the icon corresponding to given drag result
+ void SetIcon(wxDragResult res, const wxIcon& icon)
+ {
+ if ( res == wxDragCopy )
+ m_iconCopy = icon;
+ else if ( res == wxDragMove )
+ m_iconMove = icon;
+ else
+ m_iconNone = icon;
+ }
+
// start drag action
virtual wxDragResult DoDragDrop(int flags = wxDrag_CopyOnly);