]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/list.cpp
compilation fix for wxUnivGTK
[wxWidgets.git] / src / common / list.cpp
index 28f4148c7b17d53976b4a2298a9b2fee98b625ba..9153599e485b86c04c79d52ecabdd82cb48bfc85 100644 (file)
@@ -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];