X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bf6c2b3505580f37f414669c0812f72d8509fac9..72c71d39724af116d419295b684dd2946efb3da3:/src/motif/palette.cpp diff --git a/src/motif/palette.cpp b/src/motif/palette.cpp index 3e365621a1..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 +#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;