Various wxUniversal/wxMicroWindows fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user