Explicitly document wxDrag_XXX flags.
They were mentioned in DoDragDrop() documentation but not documented on their own. Do it now to be able to refer to them from elsewhere. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -6,6 +6,16 @@
|
|||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
/**
|
||||||
|
Possible flags for drag and drop operations.
|
||||||
|
*/
|
||||||
|
enum
|
||||||
|
{
|
||||||
|
wxDrag_CopyOnly = 0, ///< Allow only copying.
|
||||||
|
wxDrag_AllowMove = 1, ///< Allow moving too (copying is always allowed).
|
||||||
|
wxDrag_DefaultMove = 3 ///< Allow moving and make it default operation.
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@class wxTextDropTarget
|
@class wxTextDropTarget
|
||||||
|
|
||||||
@@ -286,10 +296,11 @@ public:
|
|||||||
example.
|
example.
|
||||||
|
|
||||||
@param flags
|
@param flags
|
||||||
If wxDrag_AllowMove is included in the flags, data may be moved and
|
If ::wxDrag_AllowMove is included in the flags, data may be moved
|
||||||
not only copied (default). If wxDrag_DefaultMove is specified
|
and not only copied as is the case for the default
|
||||||
(which includes the previous flag), this is even the default
|
::wxDrag_CopyOnly. If ::wxDrag_DefaultMove is specified
|
||||||
operation.
|
(which includes the previous flag), moving is not only possible but
|
||||||
|
becomes the default operation.
|
||||||
|
|
||||||
@return The operation requested by the user, may be ::wxDragCopy,
|
@return The operation requested by the user, may be ::wxDragCopy,
|
||||||
::wxDragMove, ::wxDragLink, ::wxDragCancel or ::wxDragNone if
|
::wxDragMove, ::wxDragLink, ::wxDragCancel or ::wxDragNone if
|
||||||
|
Reference in New Issue
Block a user