X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4fe2f20523104bb8b45c1112adfc9e60aa5695b..571d2e0f232be3f7220c485c7e72eccfb87f2855:/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()); } // ----------------------------------------------------------------------------