X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bddd7a8d8953cf4c09e56c13e1bfcc594ba0267e..4367345099df9e276e4805147ac40ec3e0349021:/include/wx/list.h diff --git a/include/wx/list.h b/include/wx/list.h index bfd500d94f..e3c8284fb6 100644 --- a/include/wx/list.h +++ b/include/wx/list.h @@ -37,10 +37,6 @@ #include "wx/object.h" #include "wx/string.h" -// due to circular header dependencies this function has to be declared here -// (normally it's found in utils.h which includes itself list.h...) -extern WXDLLIMPEXP_BASE wxChar* copystring(const wxChar *s); - class WXDLLIMPEXP_BASE wxObjectListNode; typedef wxObjectListNode wxNode; @@ -568,12 +564,10 @@ public: // operations // makes a copy of the string - wxNode *Add(const wxChar *s) - { return (wxNode *)wxStringListBase::Append(copystring(s)); } + wxNode *Add(const wxChar *s); // Append to beginning of list - wxNode *Prepend(const wxChar *s) - { return (wxNode *)wxStringListBase::Insert(copystring(s)); } + wxNode *Prepend(const wxChar *s); bool Delete(const wxChar *s);