X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1b435afad91408d08e158a8f107981045bd8d35..c04857dd6a69272399054f4e7fac47d46bf8b09f:/src/common/dobjcmn.cpp diff --git a/src/common/dobjcmn.cpp b/src/common/dobjcmn.cpp index d2d6a4e5b7..661b8114dc 100644 --- a/src/common/dobjcmn.cpp +++ b/src/common/dobjcmn.cpp @@ -94,6 +94,13 @@ bool wxDataObjectBase::IsSupported(const wxDataFormat& format, // wxDataObjectComposite // ---------------------------------------------------------------------------- +wxDataObjectComposite::wxDataObjectComposite() +{ + m_preferred = 0; + + m_dataObjects.DeleteContents(TRUE); +} + wxDataObjectSimple * wxDataObjectComposite::GetObject(const wxDataFormat& format) const {