X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af111fc33841cc8bdc4d6cf027702805333bdd2a..3d5aff50cb85e5b3299bf046d185b172bd488f08:/src/motif/palette.cpp?ds=sidebyside

diff --git a/src/motif/palette.cpp b/src/motif/palette.cpp
index 44ce0e92f7..ef2b2597a6 100644
--- a/src/motif/palette.cpp
+++ b/src/motif/palette.cpp
@@ -43,13 +43,17 @@ not the functionality that wxPalette::Create() aims to provide.
 #include "wx/app.h"
 #include "wx/utils.h"
 
+#ifdef __VMS__
+#pragma message disable nosimpint
+#endif
 #include <Xm/Xm.h>
+#ifdef __VMS__
+#pragma message enable nosimpint
+#endif
 #include "wx/motif/private.h"
 
-#if !USE_SHARED_LIBRARIES
 IMPLEMENT_DYNAMIC_CLASS(wxPalette, wxGDIObject)
 IMPLEMENT_DYNAMIC_CLASS(wxXPalette, wxObject)
-#endif
 
 /*
 * Palette