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

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