don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -109,7 +109,7 @@ wxDataObjectComposite::GetObject(const wxDataFormat& format) const
|
||||
node = node->GetNext();
|
||||
}
|
||||
|
||||
return (wxDataObjectSimple *)NULL;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void wxDataObjectComposite::Add(wxDataObjectSimple *dataObject, bool preferred)
|
||||
@@ -449,7 +449,7 @@ void wxCustomDataObject::Free()
|
||||
{
|
||||
delete [] (char*)m_data;
|
||||
m_size = 0;
|
||||
m_data = (void*)NULL;
|
||||
m_data = NULL;
|
||||
}
|
||||
|
||||
size_t wxCustomDataObject::GetDataSize() const
|
||||
|
||||
Reference in New Issue
Block a user