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:
@@ -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") );
|
||||
|
||||
|
Reference in New Issue
Block a user