summaryrefslogtreecommitdiff
path: root/vcl/source/window/dockwin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/dockwin.cxx')
-rw-r--r--vcl/source/window/dockwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/dockwin.cxx b/vcl/source/window/dockwin.cxx
index 3b622cf1cd73..803ce85e8fc3 100644
--- a/vcl/source/window/dockwin.cxx
+++ b/vcl/source/window/dockwin.cxx
@@ -625,7 +625,7 @@ bool DockingWindow::Close()
if ( xWindow->IsDisposed() )
return false;
- if ( mpWindowImpl->mxWindowPeer.is() && IsCreatedWithToolkit() )
+ if ( mpWindowImpl->mxVCLXWindow.is() && IsCreatedWithToolkit() )
return false;
Show( false, ShowFlags::NoFocusChange );