X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/98ecad062135d7821740d9c92a9a61e1a676854b..8c2654ce3d3db6e87cc0a33f3f38eb2f5bf95134:/src/common/dobjcmn.cpp?ds=inline diff --git a/src/common/dobjcmn.cpp b/src/common/dobjcmn.cpp index 02786e98cd..df021af849 100644 --- a/src/common/dobjcmn.cpp +++ b/src/common/dobjcmn.cpp @@ -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) @@ -320,7 +320,7 @@ bool wxTextDataObject::GetDataHere(const wxDataFormat& format, void *buf) const 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(buf_); if ( buf == NULL ) return false; @@ -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