]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/clipbrd.cpp
Don't call a function that might do drawing when setting a null image list
[wxWidgets.git] / src / motif / clipbrd.cpp
index f80067e6f9fd884d9c8814006c8208a86cc71874..0ee8acb95865c7703b4da6bc9ab082164d6aef0e 100644 (file)
 #include "wx/clipbrd.h"
 #include "wx/dataobj.h"
 
 #include "wx/clipbrd.h"
 #include "wx/dataobj.h"
 
+#ifdef __VMS__
+#pragma message disable nosimpint
+#endif
 #include <Xm/Xm.h>
 #include <Xm/CutPaste.h>
 #include <Xm/Xm.h>
 #include <Xm/CutPaste.h>
+#ifdef __VMS__
+#pragma message enable nosimpint
+#endif
 
 #include <string.h>
 
 
 #include <string.h>
 
-#if !USE_SHARED_LIBRARY
 // IMPLEMENT_DYNAMIC_CLASS(wxClipboard, wxObject)
 // IMPLEMENT_ABSTRACT_CLASS(wxClipboardClient, wxObject)
 // IMPLEMENT_DYNAMIC_CLASS(wxClipboard, wxObject)
 // IMPLEMENT_ABSTRACT_CLASS(wxClipboardClient, wxObject)
-#endif
 
 static bool gs_clipboardIsOpen = FALSE;
 
 
 static bool gs_clipboardIsOpen = FALSE;
 
@@ -362,10 +366,14 @@ bool wxClipboard::GetData( wxDataObject& data )
 */
         default:
         {
 */
         default:
         {
-            return FALSE;
+#ifndef __VMS
+          // VMS complains that this statement is/causes unreachability
+          return FALSE;
+#endif
         }
     }
         }
     }
-    return FALSE;
+   
+   return FALSE;
 }
 
 #if 0
 }
 
 #if 0