]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/clipbrd.cpp
This memory corruption caused me three and
[wxWidgets.git] / src / motif / clipbrd.cpp
index f80067e6f9fd884d9c8814006c8208a86cc71874..0ee8acb95865c7703b4da6bc9ab082164d6aef0e 100644 (file)
 #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;
 
@@ -362,10 +366,14 @@ bool wxClipboard::GetData( wxDataObject& data )
 */
         default:
         {
-            return FALSE;
+#ifndef __VMS
+          // VMS complains that this statement is/causes unreachability
+          return FALSE;
+#endif
         }
     }
-    return FALSE;
+   
+   return FALSE;
 }
 
 #if 0