]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/palette.cpp
Fixed some off-by-one errors that were visible on wxGTK but actually
[wxWidgets.git] / src / gtk / palette.cpp
index 61e16d77aca24ccdfe4519759d4b37d32d0a08de..b0e114a6b7df49a0f0ca65b578399c5584427f40 100644 (file)
@@ -15,7 +15,7 @@
 
 #include "wx/palette.h"
 
-#include "gdk/gdk.h"
+#include <gdk/gdk.h>
 
 //-----------------------------------------------------------------------------
 // wxPalette
@@ -93,7 +93,7 @@ bool wxPalette::Create( int WXUNUSED(n),
                        const unsigned char *WXUNUSED(green), 
                        const unsigned char *WXUNUSED(blue) )
 {
-    wxFAIL_MSG("not implemented");
+    wxFAIL_MSG(wxT("not implemented"));
 
     return FALSE;
 }
@@ -102,7 +102,7 @@ int wxPalette::GetPixel( const unsigned char WXUNUSED(red),
                          const unsigned char WXUNUSED(green), 
                         const unsigned char WXUNUSED(blue) ) const
 {
-    wxFAIL_MSG("not implemented");
+    wxFAIL_MSG(wxT("not implemented"));
 
     return 0;
 }
@@ -112,7 +112,7 @@ bool wxPalette::GetRGB( int WXUNUSED(pixel),
                        unsigned char *WXUNUSED(green), 
                        unsigned char *WXUNUSED(blue) ) const
 {
-    wxFAIL_MSG("not implemented");
+    wxFAIL_MSG(wxT("not implemented"));
  
     return 0;
 }