made GetAlpha(x, y) const (the docs are already correct)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Dimitri Schoolwerth
2004-04-15 16:16:01 +00:00
parent 7ef67c25ff
commit d30ee785c2
2 changed files with 2 additions and 2 deletions

View File

@@ -796,7 +796,7 @@ void wxImage::SetAlpha(int x, int y, unsigned char alpha)
M_IMGDATA->m_alpha[y*w + x] = alpha;
}
unsigned char wxImage::GetAlpha(int x, int y)
unsigned char wxImage::GetAlpha(int x, int y) const
{
wxCHECK_MSG( Ok() && HasAlpha(), 0, wxT("invalid image or no alpha channel") );