#include "wx/clipbrd.h"
#include "wx/dataobj.h"
+#ifdef __VMS__
+#pragma message disable nosimpint
+#endif
#include <Xm/Xm.h>
#include <Xm/CutPaste.h>
+#ifdef __VMS__
+#pragma message enable nosimpint
+#endif
#include <string.h>
-#if !USE_SHARED_LIBRARY
// IMPLEMENT_DYNAMIC_CLASS(wxClipboard, wxObject)
// IMPLEMENT_ABSTRACT_CLASS(wxClipboardClient, wxObject)
-#endif
static bool gs_clipboardIsOpen = FALSE;
return TRUE;
}
-bool wxSetClipboardData(wxDataFormat dataFormat, wxObject *obj, int width, int height)
+bool wxSetClipboardData(wxDataFormat dataFormat, wxObject *obj, int WXUNUSED(width), int WXUNUSED(height))
{
if (dataFormat != wxDF_TEXT)
return FALSE;
return wxDF_INVALID;
}
-wxDataFormat wxRegisterClipboardFormat(char *formatName)
+wxDataFormat wxRegisterClipboardFormat(char *WXUNUSED(formatName))
{
// Not supported
return (wxDataFormat) wxDF_INVALID;
}
-bool wxGetClipboardFormatName(wxDataFormat dataFormat, char *formatName, int maxCount)
+bool wxGetClipboardFormatName(wxDataFormat dataFormat, char *formatName, int WXUNUSED(maxCount))
{
// Only wxDF_TEXT supported
if (dataFormat == wxDF_TEXT)
IMPLEMENT_DYNAMIC_CLASS(wxClipboard,wxObject)
-wxClipboard* wxTheClipboard = (wxClipboard*) NULL;
-
wxClipboard::wxClipboard()
{
m_open = FALSE;
*/
default:
{
- return FALSE;
+#ifndef __VMS
+ // VMS complains that this statement is/causes unreachability
+ return FALSE;
+#endif
}
}
- return FALSE;
+
+ return FALSE;
}
#if 0