X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/46562151eb21235344768ea4b53c204d0c03fcee..d41e1ab4817b8a603c1399b1e4b006ec951839a7:/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));