diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-01-31 13:50:51 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-01-31 13:50:51 +0000 |
commit | a10c20e3eb2740cdafb6efdeb0b87ab795d07ff1 (patch) | |
tree | c4166cdfe034a2b81982c01b60efbd1af1f8bde9 /sd/source/ui/dlg/PaneDockingWindow.cxx | |
parent | b37d02c668012de379a4637baa039bf789c1605b (diff) |
INTEGRATION: CWS iha06 (1.6.40); FILE MERGED
2005/01/18 15:14:59 iha 1.6.40.1: #i40783# added missing helpids
Diffstat (limited to 'sd/source/ui/dlg/PaneDockingWindow.cxx')
-rw-r--r-- | sd/source/ui/dlg/PaneDockingWindow.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sd/source/ui/dlg/PaneDockingWindow.cxx b/sd/source/ui/dlg/PaneDockingWindow.cxx index d129186286a0..22b81452f2d0 100644 --- a/sd/source/ui/dlg/PaneDockingWindow.cxx +++ b/sd/source/ui/dlg/PaneDockingWindow.cxx @@ -2,9 +2,9 @@ * * $RCSfile: PaneDockingWindow.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: hr $ $Date: 2004-11-26 15:14:02 $ + * last change: $Author: rt $ $Date: 2005-01-31 14:50:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -308,15 +308,18 @@ void PaneDockingWindow::InitializeTitleToolBox (void) USHORT PaneDockingWindow::AddMenu ( const String& rsMenuName, + ULONG nHelpId, const Link& rCallback) { // Add the menu before the closer button. int nItemCount (mpTitleToolBox->GetItemCount()); + USHORT nItemId = nItemCount+1; mpTitleToolBox->InsertItem ( - nItemCount+1, + nItemId, rsMenuName, TIB_DROPDOWN, nItemCount-1); + mpTitleToolBox->SetHelpId( nItemId, nHelpId ); mpTitleToolBox->SetClickHdl (rCallback); mpTitleToolBox->SetDropdownClickHdl (rCallback); |