X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8bbe427f8e5a2078b266e282453595b5a634d35c..09914df7b85fe17845223b291ab65925dceba6f2:/src/gtk1/palette.cpp?ds=sidebyside diff --git a/src/gtk1/palette.cpp b/src/gtk1/palette.cpp index 07d99dc13c..4cdaef3726 100644 --- a/src/gtk1/palette.cpp +++ b/src/gtk1/palette.cpp @@ -15,6 +15,8 @@ #include "wx/palette.h" +#include "gdk/gdk.h" + //----------------------------------------------------------------------------- // wxPalette //----------------------------------------------------------------------------- @@ -86,21 +88,29 @@ bool wxPalette::Ok(void) const return (m_refData); }; -bool wxPalette::Create( int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue) +bool wxPalette::Create( int WXUNUSED(n), + const unsigned char *WXUNUSED(red), + const unsigned char *WXUNUSED(green), + const unsigned char *WXUNUSED(blue) ) { wxFAIL_MSG("not implemented"); return FALSE; }; -int wxPalette::GetPixel( const unsigned char red, const unsigned char green, const unsigned char blue ) const +int wxPalette::GetPixel( const unsigned char WXUNUSED(red), + const unsigned char WXUNUSED(green), + const unsigned char WXUNUSED(blue) ) const { wxFAIL_MSG("not implemented"); return 0; }; -bool wxPalette::GetRGB( int pixel, unsigned char *red, unsigned char *green, unsigned char *blue ) const +bool wxPalette::GetRGB( int WXUNUSED(pixel), + unsigned char *WXUNUSED(red), + unsigned char *WXUNUSED(green), + unsigned char *WXUNUSED(blue) ) const { wxFAIL_MSG("not implemented");