X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f305525708980425a931fbbf3779dd12ebb38745..bc7e0c92ad1e539ac0fed5d5e9b005cf2c2e7121:/include/wx/buffer.h diff --git a/include/wx/buffer.h b/include/wx/buffer.h index e4a43eccae..c2aaa0c09b 100644 --- a/include/wx/buffer.h +++ b/include/wx/buffer.h @@ -30,7 +30,7 @@ public: { wxASSERT_MSG( str, wxT("NULL string in wxCharBuffer") ); - m_str = str ? wxStrdup(str) : (char *)NULL; + m_str = str ? strdup(str) : (char *)NULL; } wxCharBuffer(size_t len) {