/////////////////////////////////////////////////////////////////////////////
-// Name: palette.cpp
+// Name: src/palmos/palette.cpp
// Purpose: wxPalette
-// Author: William Osborne
+// Author: William Osborne - minimal working wxPalmOS port
// Modified by:
// Created: 10/13/04
-// RCS-ID: $Id:
+// RCS-ID: $Id$
// Copyright: (c) William Osborne
// 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"
#if wxUSE_PALETTE
+#include "wx/palette.h"
+
#ifndef WX_PRECOMP
- #include "wx/palette.h"
#endif
#include "wx/palmos/private.h"
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
}
#endif // wxUSE_PALETTE
-