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:
Włodzimierz Skiba
2005-10-04 18:14:41 +00:00
parent 81a3763f80
commit 1a1498c08b
42 changed files with 53 additions and 42 deletions

View File

@@ -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();

View File

@@ -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();