delete[] objArray;
}
+// ============================================================================
+// compatibility section from now on
+// ============================================================================
+
+#ifdef wxLIST_COMPATIBILITY
+
// -----------------------------------------------------------------------------
// wxList (a.k.a. wxObjectList)
// -----------------------------------------------------------------------------
+IMPLEMENT_DYNAMIC_CLASS(wxList, wxObject)
+
void wxObjectListNode::DeleteData()
{
delete (wxObject *)GetData();
// wxStringList
// -----------------------------------------------------------------------------
+IMPLEMENT_DYNAMIC_CLASS(wxStringList, wxObject)
+
// instead of WX_DEFINE_LIST(wxStringListBase) we define this function
// ourselves
void wxStringListNode::DeleteData()
delete [] array;
}
+
+#endif // wxLIST_COMPATIBILITY
+