// Created: 17/09/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
WX_DEFINE_LIST(wxDataObjectList);
WX_DEFINE_LIST(wxDataIdToDataObjectList);
+extern "C"
+{
#if wxCHECK_LESSTIF()
static void wxClipboardCallback( Widget widget, int* data_id,
int* priv, int* reason );
-#else
+#else // Motif
static void wxClipboardCallback( Widget widget, long* data_id,
long* priv, int* reason );
-#endif
+#endif // Less/Motif
+}
IMPLEMENT_DYNAMIC_CLASS(wxClipboard,wxObject)
for( wxDataIdToDataObjectList::compatibility_iterator node2 = m_idToObject.GetFirst();
node2; node2 = node2->GetNext() )
- delete node->GetData();
+ {
+ delete node2->GetData();
+ }
m_idToObject.Clear();
}