]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/palette.cpp
really fix warning about implicitly converting 0 and 1 to size_t -- use explicit...
[wxWidgets.git] / src / palmos / palette.cpp
index db1e28ab4aad63bdc8ba595fe6d30163d8930e4e..f89c8b4eae0bd85380b9c73022e1e1be406a815f 100644 (file)
@@ -61,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
@@ -76,4 +76,3 @@ void wxPalette::SetHPALETTE(WXHPALETTE pal)
 }
 
 #endif // wxUSE_PALETTE
-