renamed wxRect::Inside() to wxRect::Contains(), wxRect::Inside(wxRect) is too confusing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -999,8 +999,8 @@ void wxImage::SetRGB( const wxRect& rect_, unsigned char r, unsigned char g, uns
|
||||
}
|
||||
else
|
||||
{
|
||||
wxCHECK_RET( imageRect.Inside(rect.GetTopLeft()) &&
|
||||
imageRect.Inside(rect.GetBottomRight()),
|
||||
wxCHECK_RET( imageRect.Contains(rect.GetTopLeft()) &&
|
||||
imageRect.Contains(rect.GetBottomRight()),
|
||||
wxT("invalid bounding rectangle") );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user