]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/list.h
props
[wxWidgets.git] / include / wx / list.h
index 78e86ee6944990edcc805327bd6d7e249209a40f..a2ba1882f4522e5083c54a0f142bb1cc78f47363 100644 (file)
@@ -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
 };