X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..74a8f67d96591cec101def2a7d47c64072aff7fd:/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 -