X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..8fdca65cf20ae4dba861fa6667d6e233cbb900cf:/src/gtk/palette.cpp diff --git a/src/gtk/palette.cpp b/src/gtk/palette.cpp index 162fb0effe..5657c4355e 100644 --- a/src/gtk/palette.cpp +++ b/src/gtk/palette.cpp @@ -31,7 +31,7 @@ class wxPaletteRefData: public wxObjectRefData wxPaletteRefData::wxPaletteRefData(void) { - m_colormap = NULL; + m_colormap = (GdkColormap *) NULL; }; wxPaletteRefData::~wxPaletteRefData(void) @@ -49,7 +49,7 @@ wxPalette::wxPalette(void) { }; -wxPalette::wxPalette( const int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue ) +wxPalette::wxPalette( int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue ) { m_refData = new wxPaletteRefData(); Create( n, red, green, blue ); @@ -92,7 +92,7 @@ bool wxPalette::Ok(void) const return (m_refData); }; -bool wxPalette::Create( const int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue) +bool wxPalette::Create( int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue) { }; @@ -100,7 +100,7 @@ int wxPalette::GetPixel( const unsigned char red, const unsigned char green, con { }; -bool wxPalette::GetRGB( const int pixel, unsigned char *red, unsigned char *green, unsigned char *blue ) const +bool wxPalette::GetRGB( int pixel, unsigned char *red, unsigned char *green, unsigned char *blue ) const { };