]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/palette.cpp
Some compile warnings removed; file selector prototypes put in each filedlg.h;
[wxWidgets.git] / src / gtk / palette.cpp
index 07d99dc13ccf95e5074661024a876bb6f1872d0e..4cdaef37264fa51d00ae037e1ce9a2309cacb369 100644 (file)
@@ -15,6 +15,8 @@
 
 #include "wx/palette.h"
 
+#include "gdk/gdk.h"
+
 //-----------------------------------------------------------------------------
 // wxPalette
 //-----------------------------------------------------------------------------
@@ -86,21 +88,29 @@ bool wxPalette::Ok(void) const
   return (m_refData);
 };
 
-bool wxPalette::Create( int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue)
+bool wxPalette::Create( int WXUNUSED(n), 
+                        const unsigned char *WXUNUSED(red), 
+                       const unsigned char *WXUNUSED(green), 
+                       const unsigned char *WXUNUSED(blue) )
 {
   wxFAIL_MSG("not implemented");
 
   return FALSE;
 };
 
-int wxPalette::GetPixel( const unsigned char red, const unsigned char green, const unsigned char blue ) const
+int wxPalette::GetPixel( const unsigned char WXUNUSED(red), 
+                         const unsigned char WXUNUSED(green), 
+                        const unsigned char WXUNUSED(blue) ) const
 {
   wxFAIL_MSG("not implemented");
 
   return 0;
 };
 
-bool wxPalette::GetRGB( int pixel, unsigned char *red, unsigned char *green, unsigned char *blue ) const
+bool wxPalette::GetRGB( int WXUNUSED(pixel), 
+                        unsigned char *WXUNUSED(red), 
+                       unsigned char *WXUNUSED(green), 
+                       unsigned char *WXUNUSED(blue) ) const
 {
   wxFAIL_MSG("not implemented");