readded clipboard support to richedit sample and fixed a fatal bug in

wxCustomDataObject (uninitialized m_data) which this allowed to discover


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-11-03 01:13:04 +00:00
parent 51edda6af0
commit 4e16881a08
4 changed files with 24 additions and 24 deletions

View File

@@ -2844,9 +2844,8 @@ wxLayoutList::GetSelection(wxLayoutDataObject *wxlo, bool invalidate)
exp->content.object->Write(string);
delete exp;
}
#if 0 // FIXME: DnD/Clipboard API has changed, what should this be?
wxlo->SetData(string.c_str(), string.Length()+1);
#endif
wxlo->SetLayoutData(string);
}
return llist;
}