X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/907789a0f72354f30ec04f79f03a0b7e2a29ac9a..de1359180540b5c5e11eddd4c3d08db4e38d59ea:/include/wx/list.h 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;