X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e443232d2e06140e64a3d888d9542d9d6ef2c20c..5f7348ce627157e21bec507623ebd31c1e9dc762:/src/common/list.cpp diff --git a/src/common/list.cpp b/src/common/list.cpp index 28f4148c7b..9153599e48 100644 --- a/src/common/list.cpp +++ b/src/common/list.cpp @@ -594,12 +594,6 @@ void wxObjectListNode::DeleteData() // wxStringList // ---------------------------------------------------------------------------- -static inline wxChar* MYcopystring(const wxString& s) -{ - wxChar* copy = new wxChar[s.length() + 1]; - return wxStrcpy(copy, s.c_str()); -} - static inline wxChar* MYcopystring(const wxChar* s) { wxChar* copy = new wxChar[wxStrlen(s) + 1];