wxX11 and wxMotif STL-ification, part 1. it does not compile.
yet, but keeps the diff between my local copy and HEAD < 4000 lines... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -195,7 +195,7 @@ wxClipboard::~wxClipboard()
|
||||
|
||||
void wxClipboard::Clear()
|
||||
{
|
||||
wxDataObjectList::Node* node = m_data.GetFirst();
|
||||
wxDataObjectList::compatibility_iterator node = m_data.GetFirst();
|
||||
while (node)
|
||||
{
|
||||
delete node->GetData();
|
||||
@@ -203,7 +203,7 @@ void wxClipboard::Clear()
|
||||
}
|
||||
m_data.Clear();
|
||||
|
||||
for( wxDataIdToDataObjectList::Node* node2 = m_idToObject.GetFirst();
|
||||
for( wxDataIdToDataObjectList::compatibility_iterator node2 = m_idToObject.GetFirst();
|
||||
node2; node2 = node2->GetNext() )
|
||||
delete node->GetData();
|
||||
m_idToObject.Clear();
|
||||
@@ -244,7 +244,7 @@ void wxClipboardCallback( Widget xwidget, long* data_id,
|
||||
wxDataObject* dobj = NULL;
|
||||
size_t size = 0;
|
||||
|
||||
for( wxDataIdToDataObjectList::Node* node2 =
|
||||
for( wxDataIdToDataObjectList::compatibility_iterator node2 =
|
||||
wxTheClipboard->m_idToObject.GetFirst();
|
||||
node2; node2 = node2->GetNext() )
|
||||
{
|
||||
|
Reference in New Issue
Block a user