From 0364ac987d405a76385da84fa769f544bf50d40b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 15 Feb 2012 15:39:56 +0000 Subject: [PATCH] Document the default size of new wxMemoryBuffer correctly. Documenting it as DefBufSize wasn't really helpful, so just use its value instead (an alternative would be to document DefBufSize -- with its value -- but it doesn't seem very useful to make it part of the public API). Closes #13984. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/buffer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/wx/buffer.h b/interface/wx/buffer.h index 4ef51bac3b..dedb9d755e 100644 --- a/interface/wx/buffer.h +++ b/interface/wx/buffer.h @@ -287,9 +287,9 @@ public: Create a new buffer. @param size - size of the new buffer. + size of the new buffer, 1KiB by default. */ - wxMemoryBuffer(size_t size = DefBufSize); + wxMemoryBuffer(size_t size = 1024); /** Append a single byte to the buffer. -- 2.50.0