X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f305525708980425a931fbbf3779dd12ebb38745..e5ee4c908b9dbcf07f0441aa74d8635b7343be4d:/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) {