X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e273151278d28cceefe6eee8c49bc6915306805d..154daa940e888ff02af9772df4eb1968775710b7:/src/palmos/palette.cpp diff --git a/src/palmos/palette.cpp b/src/palmos/palette.cpp index 40f3602233..f89c8b4eae 100644 --- a/src/palmos/palette.cpp +++ b/src/palmos/palette.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "palette.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -65,9 +61,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 @@ -80,4 +76,3 @@ void wxPalette::SetHPALETTE(WXHPALETTE pal) } #endif // wxUSE_PALETTE -