]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/palette.cpp
Increased the max length of allowed WHERE clauses and full statements (eventually...
[wxWidgets.git] / src / motif / palette.cpp
index 3e365621a1c2eafa8f06d68f5e33641a8d4fea76..ef2b2597a6dacf5ddfee089eef663a775cd16a6d 100644 (file)
@@ -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
@@ -171,7 +175,7 @@ int wxPalette::GetPixel(const unsigned char red, const unsigned char green, cons
     return FALSE;
 }
 
-bool wxPalette::GetRGB(int index, unsigned char *red, unsigned char *green, unsigned char *blue) const
+bool wxPalette::GetRGB(int index, unsigned char *WXUNUSED(red), unsigned char *WXUNUSED(green), unsigned char *WXUNUSED(blue)) const
 {
     if ( !m_refData )
         return FALSE;