X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/46562151eb21235344768ea4b53c204d0c03fcee..1748289348c4c7dcc467edbf7192ade8a1b78921:/src/cocoa/pen.mm diff --git a/src/cocoa/pen.mm b/src/cocoa/pen.mm index b82e879cad..d133d90fcb 100644 --- a/src/cocoa/pen.mm +++ b/src/cocoa/pen.mm @@ -10,11 +10,12 @@ ///////////////////////////////////////////////////////////////////////////// #include "wx/wxprec.h" + #ifndef WX_PRECOMP #include "wx/pen.h" + #include "wx/bitmap.h" + #include "wx/colour.h" #endif //WX_PRECOMP -#include "wx/bitmap.h" -#include "wx/colour.h" #import @@ -303,7 +304,7 @@ void wxPen::SetColour(const wxColour& col) M_PENDATA->SetColour(col); } -void wxPen::SetColour(const unsigned char r, const unsigned char g, const unsigned char b) +void wxPen::SetColour(unsigned char r, unsigned char g, unsigned char b) { AllocExclusive(); M_PENDATA->SetColour(wxColour(r, g, b));