]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/palette.cpp
fix a few hundreds of harmless unused parameters warnings and a couple of real bugs...
[wxWidgets.git] / src / x11 / palette.cpp
index 61a885cbddc7dff21901198fdda7ad54fd104ea8..8d7852654f05dcf37d6c64aaab04a10dc038ba2a 100644 (file)
@@ -170,7 +170,9 @@ bool wxPalette::Create(int n, const unsigned char *red, const unsigned char *gre
     return true;
 }
 
     return true;
 }
 
-int wxPalette::GetPixel(unsigned char red, unsigned char green, unsigned char blue) const
+int wxPalette::GetPixel(unsigned char WXUNUSED(red),
+                        unsigned char WXUNUSED(green),
+                        unsigned char WXUNUSED(blue)) const
 {
     if ( !m_refData )
         return wxNOT_FOUND;
 {
     if ( !m_refData )
         return wxNOT_FOUND;