Add wxFormatInvalid, and tweak the docs for wxDataObject::GetDataHere and SetData

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2012-05-10 22:34:46 +00:00
parent 137c1e7f86
commit c921d597cf

View File

@@ -118,6 +118,8 @@ public:
};
const wxDataFormat wxFormatInvalid;
/**
@class wxDataObject
@@ -260,8 +262,10 @@ public:
Direction dir = Get) const = 0;
/**
The method will write the data of the format @a format in the buffer
@a buf and return @true on success, @false on failure.
The method will write the data of the format @a format to the buffer
@a buf. In other words, copy the data from this object in the given
format to the supplied buffer. Returns @true on success, @false on
failure.
*/
virtual bool GetDataHere(const wxDataFormat& format, void* buf) const = 0;
@@ -285,7 +289,8 @@ public:
/**
Set the data in the format @a format of the length @a len provided in
the buffer @a buf.
the buffer @a buf. In other words, copy length bytes of data from the
buffer to this data object.
@param format
The format for which to set the data.