X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/46562151eb21235344768ea4b53c204d0c03fcee..ee92941afca091bf72d17e96ac8388545700d1fc:/src/x11/pen.cpp diff --git a/src/x11/pen.cpp b/src/x11/pen.cpp index a843cdce9f..23cf2ca01e 100644 --- a/src/x11/pen.cpp +++ b/src/x11/pen.cpp @@ -12,10 +12,13 @@ // for compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#include "wx/utils.h" #include "wx/pen.h" -#include "wx/colour.h" -#include "wx/bitmap.h" + +#ifndef WX_PRECOMP + #include "wx/utils.h" + #include "wx/bitmap.h" + #include "wx/colour.h" +#endif //----------------------------------------------------------------------------- // wxPen @@ -122,7 +125,7 @@ void wxPen::SetDashes( int number_of_dashes, const wxDash *dash ) M_PENDATA->m_dash = (wxX11Dash *)dash; // TODO } -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(); @@ -147,7 +150,7 @@ void wxPen::SetStipple( wxBitmap *stipple ) { AllocExclusive(); - M_PENDATA->m_stipple = *stipple;; + M_PENDATA->m_stipple = *stipple; } void wxPen::SetStyle( int style )