X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8dd13d0fa1afd8e19af18a1a2c529130181cd54f..aa3fcb2f830f50218a6003710b959eb33d3b7088:/include/wx/list.h diff --git a/include/wx/list.h b/include/wx/list.h index 78e86ee694..a2ba1882f4 100644 --- a/include/wx/list.h +++ b/include/wx/list.h @@ -767,6 +767,9 @@ private: virtual nodetype *Find(const wxListKey& key) const \ { return (nodetype *)wxListBase::Find(key); } \ \ + bool Member(const Tbase *object) const \ + { return Find(object) != NULL; } \ + \ int IndexOf(Tbase *object) const \ { return wxListBase::IndexOf(object); } \ \ @@ -1190,7 +1193,6 @@ public: // compatibility methods void Sort(wxSortCompareFunction compfunc) { wxListBase::Sort(compfunc); } - bool Member(wxObject *object) const { return Find(object) != NULL; } #endif // !wxUSE_STL };