From: Václav Slavík Date: Fri, 25 Jan 2002 00:08:07 +0000 (+0000) Subject: reverted from wxStrdup back to strdup -- sorry SC, you have to find a better fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/01357b50cd8ff6b109bb1173cfa56527db5c45b1 reverted from wxStrdup back to strdup -- sorry SC, you have to find a better fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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) {