summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/newhelp.cxx
diff options
context:
space:
mode:
authorgt <gt@openoffice.org>2001-10-11 10:20:45 +0000
committergt <gt@openoffice.org>2001-10-11 10:20:45 +0000
commit2a207da09d5cb8a659f6942c04d64254fa581ac6 (patch)
tree135c3f1e26e51f7ab39438b61bc435fca772f916 /sfx2/source/appl/newhelp.cxx
parent2d08edefa58f0e54438167a17e77b4458ea0e42a (diff)
#92980# KEY_TAB for DockingWindow -> SfxHelpTextWindow_Impl
Diffstat (limited to 'sfx2/source/appl/newhelp.cxx')
-rw-r--r--sfx2/source/appl/newhelp.cxx24
1 files changed, 21 insertions, 3 deletions
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index 8f40a3720294..af88a854488a 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: newhelp.cxx,v $
*
- * $Revision: 1.59 $
+ * $Revision: 1.60 $
*
- * last change: $Author: pb $ $Date: 2001-10-10 10:30:59 $
+ * last change: $Author: gt $ $Date: 2001-10-11 11:20:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1673,6 +1673,24 @@ String SfxHelpIndexWindow_Impl::GetSearchText() const
return sRet;
}
+// class TextWin_Impl ----------------------------------------------------
+
+TextWin_Impl::TextWin_Impl( Window* p ) : DockingWindow( p, 0 )
+{
+}
+
+TextWin_Impl::~TextWin_Impl()
+{
+}
+
+long TextWin_Impl::Notify( NotifyEvent& rNEvt )
+{
+ if( ( rNEvt.GetType() == EVENT_KEYINPUT ) && rNEvt.GetKeyEvent()->GetKeyCode().GetCode() == KEY_TAB )
+ return GetParent()->Notify( rNEvt );
+ else
+ return DockingWindow::Notify( rNEvt );
+}
+
// class SfxHelpTextWindow_Impl ------------------------------------------
SfxHelpTextWindow_Impl::SfxHelpTextWindow_Impl( SfxHelpWindow_Impl* pParent ) :
@@ -1681,7 +1699,7 @@ SfxHelpTextWindow_Impl::SfxHelpTextWindow_Impl( SfxHelpWindow_Impl* pParent ) :
aToolBox ( this, 0 ),
pHelpWin ( pParent ),
- pTextWin ( new DockingWindow( this, 0 ) ),
+ pTextWin ( new TextWin_Impl( this ) ),
bIsDebug ( sal_False ),
bIsInClose ( sal_False ),
aIndexOnText ( SfxResId( STR_HELP_BUTTON_INDEX_ON ) ),