git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49150
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
class WXDLLIMPEXP_FWD_BASE wxList;
class WXDLLIMPEXP_FWD_BASE wxList;
-class WXDLLIMPEXP_BASE wxListBase : public wxObject
+class WXDLLIMPEXP_BASE wxListBase
{
friend class wxNodeBase; // should be able to call DetachNode()
friend class wxHashTableBase; // should be able to call untyped Find()
{
friend class wxNodeBase; // should be able to call DetachNode()
friend class wxHashTableBase; // should be able to call untyped Find()
#else
wxNode *Member(wxObject *object) const { return (wxNode *)Find(object); }
#endif
#else
wxNode *Member(wxObject *object) const { return (wxNode *)Find(object); }
#endif
-
-private:
-#if !wxUSE_STL
- DECLARE_DYNAMIC_CLASS(wxList)
-#endif
private:
void DoCopy(const wxStringList&); // common part of copy ctor and operator=
private:
void DoCopy(const wxStringList&); // common part of copy ctor and operator=
-
- DECLARE_DYNAMIC_CLASS(wxStringList)
// wxList (a.k.a. wxObjectList)
// -----------------------------------------------------------------------------
// wxList (a.k.a. wxObjectList)
// -----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxList, wxObject)
-
wxList::wxList( int key_type )
: wxObjectList( (wxKeyType)key_type )
{
wxList::wxList( int key_type )
: wxObjectList( (wxKeyType)key_type )
{
return wxStrcpy(copy, s);
}
return wxStrcpy(copy, s);
}
-IMPLEMENT_DYNAMIC_CLASS(wxStringList, wxObject)
-
// instead of WX_DEFINE_LIST(wxStringListBase) we define this function
// ourselves
void wxStringListNode::DeleteData()
// instead of WX_DEFINE_LIST(wxStringListBase) we define this function
// ourselves
void wxStringListNode::DeleteData()