]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wincmn.cpp
1. deprecate redundantly sounding wxArtProvider::FooProvider() to just Foo()
[wxWidgets.git] / src / common / wincmn.cpp
index 47983f7274cec95d8cf6d87d1cc94bc9834673d9..7d16c18b26dda0d56cbf6e36a2770294019c2575 100644 (file)
@@ -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());
 }
 
 // ----------------------------------------------------------------------------