fixed mem leak in wxDataObjectComposite
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user