node = node->GetNext();
}
- return (wxDataObjectSimple *)NULL;
+ return NULL;
}
void wxDataObjectComposite::Add(wxDataObjectSimple *dataObject, bool preferred)
bool wxTextDataObject::SetData(const wxDataFormat& format,
size_t len, const void *buf_)
{
- const char * const buf = wx_static_cast(const char *, buf_);
+ const char * const buf = static_cast<const char *>(buf_);
if ( buf == NULL )
return false;
{
delete [] (char*)m_data;
m_size = 0;
- m_data = (void*)NULL;
+ m_data = NULL;
}
size_t wxCustomDataObject::GetDataSize() const