X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b386ecadb0f98fb92cfaad786dcc26915a070bd..d7bc7fec65f477e2ca4c0ac92f5aa1fbfd547b39:/include/wx/buffer.h diff --git a/include/wx/buffer.h b/include/wx/buffer.h index 1396ef5d26..3cea4f35f8 100644 --- a/include/wx/buffer.h +++ b/include/wx/buffer.h @@ -22,7 +22,7 @@ // ---------------------------------------------------------------------------- #define DEFINE_BUFFER(classname, chartype, strdupfunc) \ -class classname \ +class WXDLLIMPEXP_BASE classname \ { \ public: \ classname(const chartype *str) \ @@ -30,7 +30,7 @@ public: \ { \ } \ \ - classname(size_t len) \ + classname(size_t len=0) \ : m_str((chartype *)malloc((len + 1)*sizeof(chartype))) \ { \ m_str[len] = (chartype)0; \