X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/debe6624c1e9d4bf3243381153d1e173c849bcd8..520e470fdd0daef09c77938db642e4583933c90d:/src/gtk/palette.cpp?ds=sidebyside diff --git a/src/gtk/palette.cpp b/src/gtk/palette.cpp index 78cdfe5aed..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) @@ -94,13 +94,22 @@ bool wxPalette::Ok(void) const 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( int pixel, unsigned char *red, unsigned char *green, unsigned char *blue ) const { + wxFAIL_MSG("not implemented"); + + return 0; };