X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/999836aacade840a5d9a0cbb5fad7b1d4de62c93..e0176dd9fb716ad0a1a8804f0a93e16048f09054:/src/common/image.cpp diff --git a/src/common/image.cpp b/src/common/image.cpp index a5f3c35f48..dbcff9c883 100644 --- a/src/common/image.cpp +++ b/src/common/image.cpp @@ -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") );