summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-11-26 11:54:58 +0000
committerOcke Janssen <oj@openoffice.org>2002-11-26 11:54:58 +0000
commit28ba682ff685b7228f0fb7b153754b8e3963e267 (patch)
treed23d248ee09859c1c510e7dd404656c46f9ae52e /vcl/source/window
parent57f66a76a114dedfa6de98e0ee4c8151c7d61458 (diff)
#105538# don't check if frame window has style DLGCONTROL set
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/dlgctrl.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/vcl/source/window/dlgctrl.cxx b/vcl/source/window/dlgctrl.cxx
index 404466919952..d03dc5a17b0f 100644
--- a/vcl/source/window/dlgctrl.cxx
+++ b/vcl/source/window/dlgctrl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dlgctrl.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: cd $ $Date: 2002-11-25 10:06:59 $
+ * last change: $Author: oj $ $Date: 2002-11-26 12:54:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1076,12 +1076,13 @@ Window* Window::GetLabeledBy() const
Window* pFrameWindow = ImplGetFrameWindow();
Window* pParent = ImplGetParent();
+/* #105538# OJ approved by PL
WinBits nFrameStyle = pFrameWindow->GetStyle();
if( ! ( nFrameStyle & WB_DIALOGCONTROL )
|| ( nFrameStyle & WB_NODIALOGCONTROL )
)
return NULL;
-
+*/
if ( mpRealParent )
pWindow = mpRealParent->GetParentLabeledBy( this );