]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/palette.cpp
fixed FindOrCreatePen/Brush() for the case when the object couldn't be created succes...
[wxWidgets.git] / src / gtk1 / palette.cpp
index 2a86eb1ba280f3ba6edc9ff3bbad088b2830d058..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(T("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(T("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(T("not implemented"));
+    wxFAIL_MSG(wxT("not implemented"));
  
     return 0;
 }