// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation
#pragma implementation "clipbrd.h"
#endif
+#ifdef __VMS
+#include "wx/vms_x_fix.h"
+#define XtWindow XTWINDOW
+#define XtScreen XTSCREEN
+#define XtParent XTPARENT
+#define XtIsRealized XTISREALIZED
+#define XtDisplay XTDISPLAY
+#endif
+
#include "wx/defs.h"
#if wxUSE_CLIPBOARD
#ifdef __VMS__
#pragma message disable nosimpint
+
#endif
#include <Xm/Xm.h>
#include <Xm/CutPaste.h>
void wxClipboard::Clear()
{
- wxDataObjectList::Node* node = m_data.GetFirst();
+ wxDataObjectList::compatibility_iterator node = m_data.GetFirst();
while (node)
{
delete node->GetData();
}
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();
wxDataObject* dobj = NULL;
size_t size = 0;
- for( wxDataIdToDataObjectList::Node* node2 =
+ for( wxDataIdToDataObjectList::compatibility_iterator node2 =
wxTheClipboard->m_idToObject.GetFirst();
node2; node2 = node2->GetNext() )
{