]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/brush.mm
Include wx/math.h according to precompiled headers of wx/wx.h (with other minor clean...
[wxWidgets.git] / src / cocoa / brush.mm
index eeafeff7e8e4b10b9dff75e5824d05ccfcf8be9d..de0760c16a9d801bbe581f609084ba16fa03a1b2 100644 (file)
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
+
+#include "wx/brush.h"
+
 #ifndef WX_PRECOMP
     #include "wx/utils.h"
-    #include "wx/brush.h"
+    #include "wx/colour.h"
 #endif //WX_PRECOMP
-#include "wx/colour.h"
 
 #import <AppKit/NSColor.h>
 
@@ -173,7 +175,7 @@ void wxBrush::SetColour(const wxColour& col)
     M_BRUSHDATA->SetColour(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();
     M_BRUSHDATA->SetColour(wxColour(r,g,b));