]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/buffer.h
Window management and sizer layout corrections
[wxWidgets.git] / 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)
     {