Minor doc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -363,7 +363,7 @@ The older classes are as follows:
|
|||||||
\twocolitem{\helpref{wxTextDataObject}{wxtextdataobject}}{Text data object class}
|
\twocolitem{\helpref{wxTextDataObject}{wxtextdataobject}}{Text data object class}
|
||||||
\twocolitem{\helpref{wxFileDataObject}{wxtextdataobject}}{File data object class}
|
\twocolitem{\helpref{wxFileDataObject}{wxtextdataobject}}{File data object class}
|
||||||
\twocolitem{\helpref{wxBitmapDataObject}{wxbitmapdataobject}}{Bitmap data object class}
|
\twocolitem{\helpref{wxBitmapDataObject}{wxbitmapdataobject}}{Bitmap data object class}
|
||||||
\twocolitem{\helpref{wxPrivateDataObject}{wxprivatedataobject}}{Private data object class}
|
\twocolitem{\helpref{wxCustomDataObject}{wxcustomdataobject}}{Custom data object class}
|
||||||
\twocolitem{\helpref{wxClipboard}{wxclipboard}}{Clipboard class}
|
\twocolitem{\helpref{wxClipboard}{wxclipboard}}{Clipboard class}
|
||||||
\twocolitem{\helpref{wxDropTarget}{wxdroptarget}}{Drop target class}
|
\twocolitem{\helpref{wxDropTarget}{wxdroptarget}}{Drop target class}
|
||||||
\twocolitem{\helpref{wxFileDropTarget}{wxfiledroptarget}}{File drop target class}
|
\twocolitem{\helpref{wxFileDropTarget}{wxfiledroptarget}}{File drop target class}
|
||||||
|
@@ -28,7 +28,7 @@ only the last one if you only allow reading/writing the data)
|
|||||||
|
|
||||||
\wxheading{Derived from}
|
\wxheading{Derived from}
|
||||||
|
|
||||||
\helpref{wxDataObjectSimple}{wxdataobjectsimple}
|
\helpref{wxDataObjectSimple}{wxdataobjectsimple}\\
|
||||||
\helpref{wxDataObject}{wxdataobject}
|
\helpref{wxDataObject}{wxdataobject}
|
||||||
|
|
||||||
\wxheading{Include files}
|
\wxheading{Include files}
|
||||||
@@ -76,7 +76,7 @@ nearly any object by pickling it first.}
|
|||||||
|
|
||||||
This function is called when the data is freed, you may override it to anything
|
This function is called when the data is freed, you may override it to anything
|
||||||
you want (or may be nothing at all). The default version calls operator
|
you want (or may be nothing at all). The default version calls operator
|
||||||
delete\[\] on the data.
|
delete$[]$ on the data.
|
||||||
|
|
||||||
\membersection{wxCustomDataObject::GetSize}\label{wxcustomdataobjectgetsize}
|
\membersection{wxCustomDataObject::GetSize}\label{wxcustomdataobjectgetsize}
|
||||||
|
|
||||||
@@ -93,18 +93,15 @@ Returns a pointer to the data.
|
|||||||
\membersection{wxCustomDataObject::SetData}\label{wxcustomdataobjectsetdata}
|
\membersection{wxCustomDataObject::SetData}\label{wxcustomdataobjectsetdata}
|
||||||
|
|
||||||
\func{virtual void}{SetData}{
|
\func{virtual void}{SetData}{
|
||||||
\param{size\_t }{size},
|
\param{size\_t }{size}, \param{const void }{*data}}
|
||||||
\param{const void }{*data}
|
|
||||||
}
|
|
||||||
|
|
||||||
Set the data. The data object will make an internal copy.
|
Set the data. The data object will make an internal copy.
|
||||||
|
|
||||||
\membersection{wxCustomDataObject::TakeData}\label{wxcustomdataobjecttakedata}
|
\membersection{wxCustomDataObject::TakeData}\label{wxcustomdataobjecttakedata}
|
||||||
|
|
||||||
\func{virtual void}{TakeData}{
|
\func{virtual void}{TakeData}{
|
||||||
\param{size\_t }{size},
|
\param{size\_t }{size}, \param{const void }{*data}}
|
||||||
\param{const void }{*data}
|
|
||||||
}
|
|
||||||
|
|
||||||
Like \helpref{SetData}{wxcustomdataobjectsetdata}, but doesn't copy the data -
|
Like \helpref{SetData}{wxcustomdataobjectsetdata}, but doesn't copy the data -
|
||||||
instead the object takes ownership of the pointer.
|
instead the object takes ownership of the pointer.
|
||||||
|
|
||||||
|
@@ -112,4 +112,5 @@ Sets the format to be the custom format identified by the given name.
|
|||||||
|
|
||||||
\func{void}{SetType}{\param{NativeFormat}{ format}}
|
\func{void}{SetType}{\param{NativeFormat}{ format}}
|
||||||
|
|
||||||
Sets the format to the given value which should be one of wxDF\_XXX constants.
|
Sets the format to the given value, which should be one of wxDF\_XXX constants.
|
||||||
|
|
||||||
|
@@ -92,7 +92,7 @@ wxDataObjectSimple: \helpref{wxFileDataObject}{wxfiledataobject},
|
|||||||
change.
|
change.
|
||||||
|
|
||||||
You may also derive your own data object classes from
|
You may also derive your own data object classes from
|
||||||
\helpref{wxCustomDataObject}{wxprivatedataobject} for user-defined types. The
|
\helpref{wxCustomDataObject}{wxcustomdataobject} for user-defined types. The
|
||||||
format of user-defined data is given as mime-type string literal, such as
|
format of user-defined data is given as mime-type string literal, such as
|
||||||
"application/word" or "image/png". These strings are used as they are under
|
"application/word" or "image/png". These strings are used as they are under
|
||||||
Unix (so far only GTK) to identify a format and are translated into their
|
Unix (so far only GTK) to identify a format and are translated into their
|
||||||
@@ -128,7 +128,7 @@ None
|
|||||||
\helpref{wxFileDataObject}{wxfiledataobject},
|
\helpref{wxFileDataObject}{wxfiledataobject},
|
||||||
\helpref{wxTextDataObject}{wxtextdataobject},
|
\helpref{wxTextDataObject}{wxtextdataobject},
|
||||||
\helpref{wxBitmapDataObject}{wxbitmapdataobject},
|
\helpref{wxBitmapDataObject}{wxbitmapdataobject},
|
||||||
\helpref{wxPrivateDataObject}{wxprivatedataobject},
|
\helpref{wxCustomDataObject}{wxcustomdataobject},
|
||||||
\helpref{wxDropTarget}{wxdroptarget},
|
\helpref{wxDropTarget}{wxdroptarget},
|
||||||
\helpref{wxDropSource}{wxdropsource},
|
\helpref{wxDropSource}{wxdropsource},
|
||||||
\helpref{wxTextDropTarget}{wxtextdroptarget},
|
\helpref{wxTextDropTarget}{wxtextdroptarget},
|
||||||
|
Reference in New Issue
Block a user