summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/window/dlgctrl.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/window/dlgctrl.cxx b/vcl/source/window/dlgctrl.cxx
index 28b09105ebb5..be3697ea13d6 100644
--- a/vcl/source/window/dlgctrl.cxx
+++ b/vcl/source/window/dlgctrl.cxx
@@ -1334,6 +1334,9 @@ Window* Window::GetAccessibleRelationLabeledBy() const
Window* Window::GetAccessibleRelationMemberOf() const
{
+ if ( mpWindowImpl->mpAccessibleInfos && mpWindowImpl->mpAccessibleInfos->pMemberOfWindow )
+ return mpWindowImpl->mpAccessibleInfos->pMemberOfWindow;
+
Window* pWindow = NULL;
Window* pFrameWindow = GetParent();
if ( !pFrameWindow )