X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e273151278d28cceefe6eee8c49bc6915306805d..04fa04d8067d235ab45b5bc05b65f0679634b541:/src/palmos/palette.cpp?ds=inline diff --git a/src/palmos/palette.cpp b/src/palmos/palette.cpp index 40f3602233..51ac2c83a0 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" @@ -22,8 +18,9 @@ #if wxUSE_PALETTE +#include "wx/palette.h" + #ifndef WX_PRECOMP - #include "wx/palette.h" #endif #include "wx/palmos/private.h" @@ -65,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 @@ -80,4 +77,3 @@ void wxPalette::SetHPALETTE(WXHPALETTE pal) } #endif // wxUSE_PALETTE -