]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dobjcmn.cpp
fixed crash in iconv_close() as well
[wxWidgets.git] / src / common / dobjcmn.cpp
index d2d6a4e5b72fdcb299d76f06a0b6ab56ae169a89..661b8114dc28008f311f4f3a87bdde4c100a01e7 100644 (file)
@@ -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
 {