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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user