added wxWindow::IsVisible() method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -744,6 +744,12 @@ bool wxWindowBase::Enable(bool enable)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
bool wxWindowBase::IsVisible() const
|
||||
{
|
||||
return IsShown() && (GetParent() == NULL || GetParent()->IsVisible());
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// RTTI
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user