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:
@@ -3783,13 +3783,13 @@ void wxWindowGTK::GtkUpdate()
|
||||
}
|
||||
}
|
||||
|
||||
bool wxWindowGTK::IsExposed( int x, int y ) const
|
||||
bool wxWindowGTK::DoIsExposed( int x, int y ) const
|
||||
{
|
||||
return m_updateRegion.Contains(x, y) != wxOutRegion;
|
||||
}
|
||||
|
||||
|
||||
bool wxWindowGTK::IsExposed( int x, int y, int w, int h ) const
|
||||
bool wxWindowGTK::DoIsExposed( int x, int y, int w, int h ) const
|
||||
{
|
||||
if (GetLayoutDirection() == wxLayout_RightToLeft)
|
||||
return m_updateRegion.Contains(x-w, y, w, h) != wxOutRegion;
|
||||
|
Reference in New Issue
Block a user