X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/907789a0f72354f30ec04f79f03a0b7e2a29ac9a..7be1f0d91a912a73b110157170124830446e15e1:/include/wx/list.h?ds=sidebyside diff --git a/include/wx/list.h b/include/wx/list.h index a65bb8d485..75c3c01cbb 100644 --- a/include/wx/list.h +++ b/include/wx/list.h @@ -475,8 +475,7 @@ public: wxNode *Add(const char *s) { return (wxNode *)wxStringListBase::Append(copystring(s)); } - void Delete(const char *s) - { wxStringListBase::DeleteObject((char *)s); } + bool Delete(const char *s); char **ListToArray(bool new_copies = FALSE) const; bool Member(const char *s) const;