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:
parent
ff297bdd57
commit
f305525708
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user