summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/querydesign/TableWindowListBox.cxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-10-26 06:49:36 +0000
committerOcke Janssen <oj@openoffice.org>2001-10-26 06:49:36 +0000
commit5226ffdba484e7a14feec279393479e58f9407c0 (patch)
tree9569978ea4d786b9b33ed7304c470e71ac81e80d /dbaccess/source/ui/querydesign/TableWindowListBox.cxx
parentMerge SRC641: 25.10.01 - 22:30:11 (diff)
downloadcore-5226ffdba484e7a14feec279393479e58f9407c0.tar.gz
core-5226ffdba484e7a14feec279393479e58f9407c0.zip
# 93712# statement creation corrected
Diffstat (limited to 'dbaccess/source/ui/querydesign/TableWindowListBox.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/TableWindowListBox.cxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/dbaccess/source/ui/querydesign/TableWindowListBox.cxx b/dbaccess/source/ui/querydesign/TableWindowListBox.cxx
index 0d6de8010fe4..d8bf126778c6 100644
--- a/dbaccess/source/ui/querydesign/TableWindowListBox.cxx
+++ b/dbaccess/source/ui/querydesign/TableWindowListBox.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: TableWindowListBox.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: oj $ $Date: 2001-10-11 08:38:13 $
+ * last change: $Author: oj $ $Date: 2001-10-26 07:49:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -354,6 +354,7 @@ sal_Int8 OTableWindowListBox::AcceptDrop( const AcceptDropEvent& _rEvt )
IMPL_LINK( OTableWindowListBox, DropHdl, void *, EMPTY_ARG)
{
// create the connection
+ m_nDropEvent = NULL;
OSL_ENSURE(m_pTabWin,"No TableWindow!");
try
{
@@ -390,16 +391,12 @@ sal_Int8 OTableWindowListBox::ExecuteDrop( const ExecuteDropEvent& _rEvt )
//------------------------------------------------------------------------------
void OTableWindowListBox::LoseFocus()
{
- m_pTabWin->LoseFocus();
SvTreeListBox::LoseFocus();
}
//------------------------------------------------------------------------------
void OTableWindowListBox::GetFocus()
{
- if(m_pTabWin)
- m_pTabWin->GetFocus();
- SvTreeListBox::GetFocus();
if (GetCurEntry() != NULL)
{
if (GetSelectionCount() == 0)
@@ -407,6 +404,10 @@ void OTableWindowListBox::GetFocus()
else
ShowFocusRect(FirstSelected());
}
+ SvTreeListBox::GetFocus();
+
+ if(m_pTabWin)
+ m_pTabWin->GrabFocus();
}
//------------------------------------------------------------------------------