X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/46562151eb21235344768ea4b53c204d0c03fcee..57f2a6529245d54274a4c56469f1828a6f8fd497:/src/gtk1/pen.cpp diff --git a/src/gtk1/pen.cpp b/src/gtk1/pen.cpp index cecc379b85..53464758d1 100644 --- a/src/gtk1/pen.cpp +++ b/src/gtk1/pen.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: src/gtk/pen.cpp +// Name: src/gtk1/pen.cpp // Purpose: // Author: Robert Roebling // Id: $Id$ @@ -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();