warning in wxCustomDataObject::Free fix (I hope)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-03-08 15:08:17 +00:00
parent ecb017924c
commit 5bcea60e1b

View File

@@ -282,7 +282,7 @@ void *wxCustomDataObject::Alloc(size_t size)
void wxCustomDataObject::Free()
{
delete [] m_data;
delete [] (char *)m_data;
m_size = 0;
m_data = (void *)NULL;
}