diff options
Diffstat (limited to 'vcl/source/window/stacking.cxx')
-rw-r--r-- | vcl/source/window/stacking.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/window/stacking.cxx b/vcl/source/window/stacking.cxx index 1aa805e0fdee..cb7c6ebf2b51 100644 --- a/vcl/source/window/stacking.cxx +++ b/vcl/source/window/stacking.cxx @@ -1005,6 +1005,11 @@ void Window::SetParent( vcl::Window* pNewParent ) Show( true, ShowFlags::NoFocusChange | ShowFlags::NoActivate ); } +bool Window::IsAncestorOf( const vcl::Window& rWindow ) const +{ + return ImplIsRealParentPath(&rWindow); +} + sal_uInt16 Window::GetChildCount() const { if (!mpWindowImpl) |