From c921d597cfe1445892bd4373c7fe5dcdf3d3e216 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 10 May 2012 22:34:46 +0000 Subject: [PATCH] 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 --- interface/wx/dataobj.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/interface/wx/dataobj.h b/interface/wx/dataobj.h index 62f3704bd2..ea43966b03 100644 --- a/interface/wx/dataobj.h +++ b/interface/wx/dataobj.h @@ -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. -- 2.45.2