X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/07b6b12176bc7f1fbe508c77f7e5bfb448484886..92c0fc34c104c8d7c12d6a3b78ea232690fc23f4:/interface/wx/dnd.h diff --git a/interface/wx/dnd.h b/interface/wx/dnd.h index 278aa057d3..f117116871 100644 --- a/interface/wx/dnd.h +++ b/interface/wx/dnd.h @@ -2,7 +2,6 @@ // Name: dnd.h // Purpose: interface of wxDropSource and wx*DropTarget // Author: wxWidgets team -// RCS-ID: $Id$ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -132,6 +131,11 @@ public: */ virtual void OnLeave(); + /** + Returns the data wxDataObject associated with the drop target + */ + wxDataObject *GetDataObject() const; + /** Sets the data wxDataObject associated with the drop target and deletes any previously associated data object. @@ -310,10 +314,24 @@ public: @param res The drag result to set the icon for. @param cursor - The ion to show when this drag result occurs. + The icon to show when this drag result occurs. + + @onlyfor{wxmsw,wxosx} */ void SetCursor(wxDragResult res, const wxCursor& cursor); + /** + Set the icon to use for a certain drag result. + + @param res + The drag result to set the icon for. + @param icon + The icon to show when this drag result occurs. + + @onlyfor{wxgtk} + */ + void SetIcon(wxDragResult res, const wxIcon& icon); + /** Sets the data wxDataObject associated with the drop source. This will not delete any previously associated data.