X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4fe2f20523104bb8b45c1112adfc9e60aa5695b..1cd9779fce63b081d875de7a901c8eb6120d0b8a:/src/common/wincmn.cpp diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index 47983f7274..7d16c18b26 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -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()); } // ----------------------------------------------------------------------------