X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f305525708980425a931fbbf3779dd12ebb38745..c822ad5a5e30a21ca3340af644bf79804cf7c777:/include/wx/buffer.h?ds=sidebyside 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) {