summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/tbxctl.cxx
diff options
context:
space:
mode:
authorThomas Benisch <tbe@openoffice.org>2002-04-18 11:50:02 +0000
committerThomas Benisch <tbe@openoffice.org>2002-04-18 11:50:02 +0000
commitc523fab60c9cff4bfa073295ef0f109e3506c8bd (patch)
tree020643cc6680d56f02e7d36c219aee34faa1d6ee /basctl/source/basicide/tbxctl.cxx
parentb8198a589887f922ec43a261b30ce739841b3f7d (diff)
#98585# Unable to create a new Basic Dialog with the keyboard
Diffstat (limited to 'basctl/source/basicide/tbxctl.cxx')
-rw-r--r--basctl/source/basicide/tbxctl.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/basctl/source/basicide/tbxctl.cxx b/basctl/source/basicide/tbxctl.cxx
index b8242a3bec7c..eef838ebe4f5 100644
--- a/basctl/source/basicide/tbxctl.cxx
+++ b/basctl/source/basicide/tbxctl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: tbxctl.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: tbe $ $Date: 2001-09-17 11:23:29 $
+ * last change: $Author: tbe $ $Date: 2002-04-18 12:50:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -145,6 +145,9 @@ TbxControls::TbxControls( USHORT nId, ToolBox& rTbx, SfxBindings& rBind ) :
SfxToolBoxControl( nId, rTbx, rBind )
{
nLastSlot = USHRT_MAX;
+
+ rTbx.SetItemBits( nId, TIB_DROPDOWN | rTbx.GetItemBits( nId ) );
+ rTbx.Invalidate();
}
/*************************************************************************