Applied patch by Johan van Zyl.
[ 1231711 ] Using motif clipboard causes application crash git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -208,7 +208,9 @@ void wxClipboard::Clear()
|
|||||||
|
|
||||||
for( wxDataIdToDataObjectList::compatibility_iterator node2 = m_idToObject.GetFirst();
|
for( wxDataIdToDataObjectList::compatibility_iterator node2 = m_idToObject.GetFirst();
|
||||||
node2; node2 = node2->GetNext() )
|
node2; node2 = node2->GetNext() )
|
||||||
delete node->GetData();
|
{
|
||||||
|
delete node2->GetData();
|
||||||
|
}
|
||||||
m_idToObject.Clear();
|
m_idToObject.Clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user