changed to wxStrdup, since strdup is not guaranteed to be defined

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2002-01-20 16:06:13 +00:00
parent ff297bdd57
commit f305525708

View File

@ -30,7 +30,7 @@ public:
{
wxASSERT_MSG( str, wxT("NULL string in wxCharBuffer") );
m_str = str ? strdup(str) : (char *)NULL;
m_str = str ? wxStrdup(str) : (char *)NULL;
}
wxCharBuffer(size_t len)
{