X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dface61ccba162c922b25d18aca2ebc4e6f03312..d37fd2fada5c7d1cbb78844a4a6540284256e72f:/docs/latex/wx/dropsrc.tex diff --git a/docs/latex/wx/dropsrc.tex b/docs/latex/wx/dropsrc.tex index 077ad1c69f..2fc43ea65b 100644 --- a/docs/latex/wx/dropsrc.tex +++ b/docs/latex/wx/dropsrc.tex @@ -8,6 +8,10 @@ This class represents a source for a drag and drop operation. \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{Types} \index{wxDragResult}wxDragResult is defined as follows: @@ -33,14 +37,14 @@ enum wxDragResult \membersection{wxDropSource::wxDropSource}\label{wxdropsourcewxdropsource} -\func{}{wxDropSource}{\param{wxWindow }{*win = NULL}} +\func{}{wxDropSource}{\param{wxWindow*}{ win = NULL}} Default/wxGTK-specific constructor. If you use the default constructor you must call \helpref{wxDropSource::SetData}{wxdropsourcesetdata} later. -{\it win} is only used by wxGTK. TODO: in what circumstances? +{\it win} is required by wxGTK and therefore should always be set. -\func{}{wxDropSource}{\param{wxDataObject }{\&data}, \param{wxWindow }{*win = NULL}} +\func{}{wxDropSource}{\param{wxDataObject\& }{data}, \param{wxWindow*}{ win = NULL}} \wxheading{Parameters} @@ -54,7 +58,7 @@ call \helpref{wxDropSource::SetData}{wxdropsourcesetdata} later. \membersection{wxDropSource::SetData}\label{wxdropsourcesetdata} -\func{void}{SetData}{\param{wxDataObject }{\&data}} +\func{void}{SetData}{\param{wxDataObject\&}{ data}} Sets the data \helpref{data object}{wxdataobject} associated with the drop source. @@ -64,7 +68,8 @@ Sets the data \helpref{data object}{wxdataobject} associated with the drop sourc Do it (call this in response to a mouse button press, for example). -If {\bf bAllowMove} is FALSE, data can only be copied. +If {\bf bAllowMove} is FALSE, data can only be copied. Under GTK, data +is always copied. \membersection{wxDropSource::GiveFeedback}\label{wxdropsourcegivefeedback} @@ -76,9 +81,9 @@ slow. \wxheading{Parameters} -\docparam{effect}{The effect to implement. One of wxDragCopy, wxDragMove.} +\docparam{effect}{The effect to implement. One of wxDragCopy, wxDragMove. MSW only. } -\docparam{bScrolling}{TRUE if the window is scrolling.} +\docparam{bScrolling}{TRUE if the window is scrolling. MSW only. } \wxheading{Return value}