summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorDaniel Rentz <dr@openoffice.org>2002-11-22 13:54:44 +0000
committerDaniel Rentz <dr@openoffice.org>2002-11-22 13:54:44 +0000
commite0f7bd42b0eb339bf90d3372abcfb843a1892900 (patch)
tree229f82e25e813859e7bec95a0c2d4693ac315ef8 /vcl/source/window
parenteada287f0fa19932445b4a967dc258577a4c904e (diff)
#101952# checkbox gets dialog HID
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/msgbox.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/vcl/source/window/msgbox.cxx b/vcl/source/window/msgbox.cxx
index 3b318789fb96..d5b91ad895b9 100644
--- a/vcl/source/window/msgbox.cxx
+++ b/vcl/source/window/msgbox.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: msgbox.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: dr $ $Date: 2002-10-24 10:55:41 $
+ * last change: $Author: dr $ $Date: 2002-11-22 14:54:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -415,6 +415,7 @@ void MessBox::ImplPosControls()
mpCheckBox->Check( mbCheck );
mpCheckBox->SetText( maCheckBoxText );
mpCheckBox->SetStyle( mpCheckBox->GetStyle() | WB_WORDBREAK );
+ mpCheckBox->SetHelpId( GetHelpId() ); // DR: Check box and dialog have same HID
// align checkbox with message text
Size aSize = mpCheckBox->CalcMinimumSize( aMinCheckboxSize.Width() );