X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..520e470fdd0daef09c77938db642e4583933c90d:/src/gtk/palette.cpp diff --git a/src/gtk/palette.cpp b/src/gtk/palette.cpp index 162fb0effe..9f49402c61 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,15 +92,24 @@ 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) { + wxFAIL_MSG("not implemented"); + + return FALSE; }; int wxPalette::GetPixel( const unsigned char red, const unsigned char green, const unsigned char blue ) const { + wxFAIL_MSG("not implemented"); + + return 0; }; -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 { + wxFAIL_MSG("not implemented"); + + return 0; };