]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/list.cpp
compilation fix for wxUnivGTK
[wxWidgets.git] / src / common / list.cpp
index 9c5603a0faf1183187d15fc03e56819dfaed8f49..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];
@@ -762,7 +756,7 @@ wxNode *wxStringList::Prepend(const wxChar *s)
     WX_DEFINE_LIST(wxObjectList);
 
 // with wxUSE_STL wxStringList contains wxString objects, not pointers
-void wxStringListBase::DeleteFunction( const wxString X )
+void wxStringListBase::DeleteFunction( const wxString WXUNUSED(X) )
 {
 }