]> git.saurik.com Git - wxWidgets.git/commitdiff
make it explicitly clear that the len parameter of SetData() is in bytes
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 29 Mar 2009 21:31:40 +0000 (21:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 29 Mar 2009 21:31:40 +0000 (21:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/dataobj.h

index 7ef7587d87481fe1051df71b1230de032d63be20..6f3951a0d37dac0d847d8ecdc167ba937313431a 100644 (file)
@@ -277,7 +277,14 @@ public:
         Set the data in the format @a format of the length @a len provided in
         the buffer @a buf.
 
-        @return @true on success, @false on failure.
+        @param format
+            The format for which to set the data.
+        @param len
+            The size of data in bytes.
+        @param buf
+            Non-@NULL pointer to the data.
+        @return
+            @true on success, @false on failure.
     */
     virtual bool SetData(const wxDataFormat& format, size_t len, const void* buf);