X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b08a2401a3850a210682c477474f55f5907fe300..e12a951e754d0e6a67a211a1d8fb788e0a166094:/include/wx/buffer.h?ds=sidebyside diff --git a/include/wx/buffer.h b/include/wx/buffer.h index 976177e3f1..3cea4f35f8 100644 --- a/include/wx/buffer.h +++ b/include/wx/buffer.h @@ -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; \