X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..815f65bd0f673965230ed915d794497a8818dd35:/src/palmos/palette.cpp diff --git a/src/palmos/palette.cpp b/src/palmos/palette.cpp index db1e28ab4a..51ac2c83a0 100644 --- a/src/palmos/palette.cpp +++ b/src/palmos/palette.cpp @@ -18,8 +18,9 @@ #if wxUSE_PALETTE +#include "wx/palette.h" + #ifndef WX_PRECOMP - #include "wx/palette.h" #endif #include "wx/palmos/private.h" @@ -61,9 +62,9 @@ bool wxPalette::Create(int n, const unsigned char *red, const unsigned char *gre return false; } -int wxPalette::GetPixel(const unsigned char red, const unsigned char green, const unsigned char blue) const +int wxPalette::GetPixel(unsigned char red, unsigned char green, unsigned char blue) const { - return 0; + return wxNOT_FOUND; } bool wxPalette::GetRGB(int index, unsigned char *red, unsigned char *green, unsigned char *blue) const @@ -76,4 +77,3 @@ void wxPalette::SetHPALETTE(WXHPALETTE pal) } #endif // wxUSE_PALETTE -