]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/clipbrd.cpp
More settings restored.
[wxWidgets.git] / src / motif / clipbrd.cpp
index 95c71a0fae5e3d986011437f1f124a6aca6733c0..2b795bae13e791f8513a71faa2b60ab174d6c2a6 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     17/09/98
 // RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
-// Licence:    wxWidgets licence
+// Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
@@ -208,7 +208,9 @@ void wxClipboard::Clear()
 
     for( wxDataIdToDataObjectList::compatibility_iterator node2 = m_idToObject.GetFirst();
          node2; node2 = node2->GetNext() )
-        delete node->GetData();
+    {
+        delete node2->GetData();
+    }
     m_idToObject.Clear();
 }