X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/07243717e26bda497d5a8b325c2e6acf4ee033cf..1721a8c028d3b6a553634c632117fbfac102a30e:/include/wx/buffer.h diff --git a/include/wx/buffer.h b/include/wx/buffer.h index ad956432ee..976177e3f1 100644 --- a/include/wx/buffer.h +++ b/include/wx/buffer.h @@ -6,23 +6,23 @@ // Created: 12.04.99 // RCS-ID: $Id$ // Copyright: (c) 1998 Vadim Zeitlin -// Licence: wxWindows license +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -// these classes are for private use only for now, they're not documented - #ifndef _WX_BUFFER_H #define _WX_BUFFER_H #include "wx/wxchar.h" +#include // malloc() and free() + // ---------------------------------------------------------------------------- // Special classes for (wide) character strings: they use malloc/free instead // of new/delete // ---------------------------------------------------------------------------- #define DEFINE_BUFFER(classname, chartype, strdupfunc) \ -class classname \ +class WXDLLIMPEXP_BASE classname \ { \ public: \ classname(const chartype *str) \ @@ -172,6 +172,8 @@ private: // the reference count size_t m_ref; + + DECLARE_NO_COPY_CLASS(wxMemoryBufferData) };