X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/46562151eb21235344768ea4b53c204d0c03fcee..fac7f644e2c46168555cfeda70feb9cfe46a179e:/src/gtk/pen.cpp?ds=sidebyside diff --git a/src/gtk/pen.cpp b/src/gtk/pen.cpp index cecc379b85..498f38025d 100644 --- a/src/gtk/pen.cpp +++ b/src/gtk/pen.cpp @@ -11,7 +11,10 @@ #include "wx/wxprec.h" #include "wx/pen.h" -#include "wx/colour.h" + +#ifndef WX_PRECOMP + #include "wx/colour.h" +#endif #include @@ -132,7 +135,7 @@ void wxPen::SetDashes( int number_of_dashes, const wxDash *dash ) M_PENDATA->m_dash = (wxGTKDash *)dash; } -void wxPen::SetColour( const unsigned char red, const unsigned char green, const unsigned char blue ) +void wxPen::SetColour( unsigned char red, unsigned char green, unsigned char blue ) { AllocExclusive();