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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user