summaryrefslogtreecommitdiff
path: root/vcl/source/window/stacking.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/stacking.cxx')
-rw-r--r--vcl/source/window/stacking.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/stacking.cxx b/vcl/source/window/stacking.cxx
index b268f14960e0..d00ad9f9b5ef 100644
--- a/vcl/source/window/stacking.cxx
+++ b/vcl/source/window/stacking.cxx
@@ -1111,11 +1111,11 @@ vcl::Window* Window::GetWindow( GetWindowType nType ) const
return nullptr;
}
-bool Window::IsChild( const vcl::Window* pWindow, bool bSystemWindow ) const
+bool Window::IsChild( const vcl::Window* pWindow ) const
{
do
{
- if ( !bSystemWindow && pWindow->ImplIsOverlapWindow() )
+ if ( pWindow->ImplIsOverlapWindow() )
break;
pWindow = pWindow->ImplGetParent();