]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/brush.cpp
updates from Adrián González Alba
[wxWidgets.git] / src / gtk / brush.cpp
index f2237b0a664a645e033467a54377bce2f6e9a386..d1223107d4cf7d3559138d69c8fde6033f3cdcfb 100644 (file)
 #include "wx/wxprec.h"
 
 #include "wx/brush.h"
-#include "wx/colour.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/colour.h"
+#endif
 
 #include <gdk/gdk.h>
 
@@ -137,7 +140,7 @@ void wxBrush::SetColour( const wxColour& col )
     M_BRUSHDATA->m_colour = col;
 }
 
-void wxBrush::SetColour( const unsigned char r, const unsigned char g, const unsigned char b )
+void wxBrush::SetColour( unsigned char r, unsigned char g, unsigned char b )
 {
     AllocExclusive();