X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/46562151eb21235344768ea4b53c204d0c03fcee..f5590243955d800aaeee4e2c3b8c4aec14919181:/src/mac/classic/pen.cpp diff --git a/src/mac/classic/pen.cpp b/src/mac/classic/pen.cpp index 2f27d50493..cd3184992c 100644 --- a/src/mac/classic/pen.cpp +++ b/src/mac/classic/pen.cpp @@ -9,10 +9,14 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#include "wx/setup.h" -#include "wx/utils.h" +#include "wx/wxprec.h" + #include "wx/pen.h" +#ifndef WX_PRECOMP + #include "wx/utils.h" +#endif + IMPLEMENT_DYNAMIC_CLASS(wxPen, wxGDIObject) wxPenRefData::wxPenRefData() @@ -106,7 +110,7 @@ void wxPen::SetColour(const wxColour& col) RealizeResource(); } -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) { Unshare();