Use DoIsExposed for the virtual version of the method, so the wxPoint

and wxRect versions don't get hidden in derived classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-09-11 17:50:12 +00:00
parent 6517912d80
commit 657b4fd417
4 changed files with 14 additions and 10 deletions

View File

@@ -1146,12 +1146,12 @@ wxRect wxWindowBase::GetUpdateClientRect() const
return rectUpdate;
}
bool wxWindowBase::IsExposed(int x, int y) const
bool wxWindowBase::DoIsExposed(int x, int y) const
{
return m_updateRegion.Contains(x, y) != wxOutRegion;
}
bool wxWindowBase::IsExposed(int x, int y, int w, int h) const
bool wxWindowBase::DoIsExposed(int x, int y, int w, int h) const
{
return m_updateRegion.Contains(x, y, w, h) != wxOutRegion;
}