renamed wxWindow::IsVisible() to IsShownOnScreen() to fix name conflicts with other classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -747,9 +747,10 @@ bool wxWindowBase::Enable(bool enable)
|
||||
}
|
||||
}
|
||||
|
||||
bool wxWindowBase::IsVisible() const
|
||||
bool wxWindowBase::IsShownOnScreen() const
|
||||
{
|
||||
return IsShown() && (GetParent() == NULL || GetParent()->IsVisible());
|
||||
return IsShown() &&
|
||||
(GetParent() == NULL || GetParent()->IsShownOnScreen());
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user