]> git.saurik.com Git - wxWidgets.git/commitdiff
reverted from wxStrdup back to strdup -- sorry SC, you have to find a better fix
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 25 Jan 2002 00:08:07 +0000 (00:08 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 25 Jan 2002 00:08:07 +0000 (00:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/buffer.h

index e4a43eccae38c544b833fc9f7d4d24c53af39fb4..c2aaa0c09b727ef7289ece05c2a3d4526bda9aad 100644 (file)
@@ -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)
     {