Added wxPrivateDropTarget class skeleton.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 1999-01-15 13:24:42 +00:00
parent 59e9bd3e24
commit 130f49d78c
3 changed files with 52 additions and 15 deletions

View File

@ -147,6 +147,8 @@ $$\image{14cm;0cm}{wxclass.ps}$$
\input postscpt.tex
\input prevwin.tex
\input print.tex
\input prvdatob.tex
\input prvtdrpt.tex
\input process.tex
\input procevt.tex
\input protocol.tex

View File

@ -1,26 +1,24 @@
automatically generated by HelpGen from privatedataobject.tex at 13/Jan/99 12:50:12
\section{\class{wxPrivateDataObject}}\label{wxprivatedataobject}
----------------------------------------------------------------------------
wxPrivateDataObject is a specialization of wxDataObject for app specific data
----------------------------------------------------------------------------
wxPrivateDataObject is a specialization of wxDataObject for application-specific data.
\wxheading{Derived from}
\helpref{wxDataObject}{wxdataobject}
\wxheading{Data structures}
\wxheading{See also}
\helpref{wxDataObject}{wxdataobject}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxPrivateDataObject::wxPrivateDataObject}\label{wxprivatedataobjectwxprivatedataobject}
\constfunc{virtual }{wxPrivateDataObject}{\void}
\func{}{wxPrivateDataObject}{\void}
\membersection{wxPrivateDataObject::\destruct{wxPrivateDataObject}}\label{wxprivatedataobjectdtor}
\constfunc{virtual }{\destruct{wxPrivateDataObject}}{\void}
\func{}{\destruct{wxPrivateDataObject}}{\void}
\membersection{wxPrivateDataObject::GetFormat}\label{wxprivatedataobjectgetformat}
@ -28,27 +26,33 @@ automatically generated by HelpGen from privatedataobject.tex at 13/Jan/99 12:50
\membersection{wxPrivateDataObject::SetId}\label{wxprivatedataobjectsetid}
\constfunc{virtual void}{SetId}{\param{const wxString\& }{id}}
\func{virtual void}{SetId}{\param{const wxString\& }{id}}
the string ID identifies the format of clipboard or DnD data. a word
processor would e.g. add a wxTextDataObject and a wxPrivateDataObject
to the clipboard - the latter with the Id "WXWORD\_FORMAT".
The string ID identifies the format of clipboard or DnD data. A word
processor would e.g. add a wxTextDataObject and a wxPrivateDataObject
to the clipboard - the latter with the Id "WXWORD\_FORMAT".
\membersection{wxPrivateDataObject::GetId}\label{wxprivatedataobjectgetid}
\constfunc{virtual wxString}{GetId}{\void}
Returns the ID of the clipboard or DnD data format.
\membersection{wxPrivateDataObject::SetData}\label{wxprivatedataobjectsetdata}
\constfunc{virtual void}{SetData}{\param{const char }{*data}, \param{size\_t }{size}}
\func{virtual void}{SetData}{\param{const char }{*data}, \param{size\_t }{size}}
will make internal copy
Set the data. The data object will make internal copy.
\membersection{wxPrivateDataObject::GetDataSize}\label{wxprivatedataobjectgetdatasize}
\constfunc{virtual size\_t}{GetDataSize}{\void}
Returns the data size.
\membersection{wxPrivateDataObject::GetData}\label{wxprivatedataobjectgetdata}
\constfunc{virtual char*}{GetData}{\void}
\func{virtual char*}{GetData}{\void}
Returns the data.

View File

@ -0,0 +1,31 @@
\section{\class{wxPrivateDropTarget}}\label{wxprivatedroptarget}
wxPrivateDropTarget is for...
\wxheading{Derived from}
\helpref{wxDropTarget}{wxdroptarget}
\wxheading{See also}
\helpref{wxDropTarget}{wxdroptarget}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxPrivateDropTarget::wxPrivateDropTarget}\label{wxprivatedroptargetwxprivatedroptarget}
\func{}{wxPrivateDropTarget}{\void}
\membersection{wxPrivateDropTarget::SetId}\label{wxprivatedroptargetsetid}
\func{void}{SetId}{\param{const wxString\& }{id}}
Yu have to override OnDrop to get at the data.
The string ID identifies the format of clipboard or DnD data. A word
rocessor would e.g. add a wxTextDataObject and a wxPrivateDataObject
to the clipboard - the latter with the Id "WXWORD\_FORMAT".
\membersection{wxPrivateDropTarget::GetId}\label{wxprivatedroptargetgetid}
\constfunc{virtual wxString}{GetId}{\void}