X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..30a72e62977e4c532ae2f265db72535a5cccbbab:/src/univ/listbox.cpp diff --git a/src/univ/listbox.cpp b/src/univ/listbox.cpp index b0ef47a462..af3ca7eee5 100644 --- a/src/univ/listbox.cpp +++ b/src/univ/listbox.cpp @@ -5,7 +5,7 @@ // Modified by: // Created: 30.08.00 // RCS-ID: $Id$ -// Copyright: (c) 2000 Vadim Zeitlin +// Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com) // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -242,7 +242,7 @@ void wxListBox::DoClear() size_t count = m_itemsClientData.GetCount(); for ( size_t n = 0; n < count; n++ ) { - delete m_itemsClientData[n]; + delete (wxClientData *) m_itemsClientData[n]; } } @@ -275,7 +275,7 @@ void wxListBox::Delete(int n) if ( HasClientObjectData() ) { - delete m_itemsClientData[n]; + delete (wxClientData *)m_itemsClientData[n]; } m_itemsClientData.RemoveAt(n);