added wxRTTI macros to wxList and wxStringList

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-02-06 01:38:08 +00:00
parent 0cf5b09998
commit f98bd52a3e
2 changed files with 19 additions and 0 deletions

View File

@@ -186,6 +186,7 @@ private:
// -----------------------------------------------------------------------------
// a double-linked list class
// -----------------------------------------------------------------------------
class WXDLLEXPORT wxListBase : public wxObject
{
friend class wxNodeBase; // should be able to call DetachNode()
@@ -506,6 +507,9 @@ public:
void Sort(wxSortCompareFunction compfunc) { wxListBase::Sort(compfunc); }
wxNode *Member(wxObject *object) const { return (wxNode *)Find(object); }
private:
DECLARE_DYNAMIC_CLASS(wxList)
};
// -----------------------------------------------------------------------------
@@ -543,6 +547,8 @@ public:
private:
void DoCopy(const wxStringList&); // common part of copy ctor and operator=
DECLARE_DYNAMIC_CLASS(wxStringList)
};
#endif // wxLIST_COMPATIBILITY