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
This commit is contained in:
Václav Slavík 2002-01-25 00:08:07 +00:00
parent e1146627e2
commit 01357b50cd

View File

@ -30,7 +30,7 @@ public:
{ {
wxASSERT_MSG( str, wxT("NULL string in wxCharBuffer") ); 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) wxCharBuffer(size_t len)
{ {