]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/brush.cpp
restore needed functions, wxMSW doesn't use wxBitmapHandlerBase
[wxWidgets.git] / src / gtk / brush.cpp
index f2237b0a664a645e033467a54377bce2f6e9a386..214007898251e7ec0cf4cb692ebcb3518a952ba8 100644 (file)
 #include "wx/wxprec.h"
 
 #include "wx/brush.h"
-#include "wx/colour.h"
 
-#include <gdk/gdk.h>
+#ifndef WX_PRECOMP
+    #include "wx/bitmap.h"
+    #include "wx/colour.h"
+#endif
 
 //-----------------------------------------------------------------------------
 // wxBrush
@@ -137,7 +139,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();