Fix for mistake with const for non pointer/reference with corrections in documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -137,7 +137,7 @@ void wxBrush::SetColour( const wxColour& col )
|
||||
M_BRUSHDATA->m_colour = col;
|
||||
}
|
||||
|
||||
void wxBrush::SetColour( const unsigned char r, const unsigned char g, const unsigned char b )
|
||||
void wxBrush::SetColour( unsigned char r, unsigned char g, unsigned char b )
|
||||
{
|
||||
AllocExclusive();
|
||||
|
||||
|
||||
@@ -132,7 +132,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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user