summaryrefslogtreecommitdiff
path: root/sd/source/ui/toolpanel/SubToolPanel.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2007-04-03 15:20:22 +0000
committerRüdiger Timm <rt@openoffice.org>2007-04-03 15:20:22 +0000
commit7d75e96c57d58996fd63e5eeb1e056f3b159a00b (patch)
tree7ac6a47b26b50bb35f5275b2aaec8fad14855be9 /sd/source/ui/toolpanel/SubToolPanel.cxx
parent1ccd97c9624e79a44adadc7dfc5c321ac34600a4 (diff)
INTEGRATION: CWS components1 (1.8.14); FILE MERGED
2007/01/25 15:22:45 af 1.8.14.2: RESYNC: (1.8-1.9); FILE MERGED 2007/01/24 17:48:59 af 1.8.14.1: #i68075# The click handler can now be supplied along with a control.
Diffstat (limited to 'sd/source/ui/toolpanel/SubToolPanel.cxx')
-rw-r--r--sd/source/ui/toolpanel/SubToolPanel.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sd/source/ui/toolpanel/SubToolPanel.cxx b/sd/source/ui/toolpanel/SubToolPanel.cxx
index f6a27724667c..e80a3dce3730 100644
--- a/sd/source/ui/toolpanel/SubToolPanel.cxx
+++ b/sd/source/ui/toolpanel/SubToolPanel.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: SubToolPanel.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: kz $ $Date: 2006-12-12 18:42:02 $
+ * last change: $Author: rt $ $Date: 2007-04-03 16:20:22 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -120,6 +120,7 @@ void SubToolPanel::AddControl (
this,
pControl,
rTitle,
+ TitledControlStandardClickHandler(GetControlContainer(), ControlContainer::ES_TOGGLE),
TitleBar::TBT_SUB_CONTROL_HEADLINE);
pTitledControl->GetWindow()->SetParent(this);
pTitledControl->GetWindow()->SetHelpId(nHelpId);