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:
@@ -697,7 +697,7 @@ void wxWindowDFB::PaintWindow(const wxRect& rect)
|
||||
wxRect clientRect(GetClientRect());
|
||||
|
||||
// only send wxNcPaintEvent if drawing at least part of nonclient area:
|
||||
if ( !clientRect.Inside(rect) )
|
||||
if ( !clientRect.Contains(rect) )
|
||||
{
|
||||
wxNcPaintEvent eventNc(GetId());
|
||||
eventNc.SetEventObject(this);
|
||||
|
Reference in New Issue
Block a user