diff options
Diffstat (limited to 'svx/source/form/tbxform.cxx')
-rw-r--r-- | svx/source/form/tbxform.cxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/svx/source/form/tbxform.cxx b/svx/source/form/tbxform.cxx index 9103f200a7e6..1a070374f3a9 100644 --- a/svx/source/form/tbxform.cxx +++ b/svx/source/form/tbxform.cxx @@ -38,6 +38,8 @@ SvxFmAbsRecWin::SvxFmAbsRecWin(vcl::Window* pParent, SfxToolBoxControl* pControl , m_xWidget(m_xBuilder->weld_entry("entry")) , m_pController(pController) { + InitControlBase(m_xWidget.get()); + m_xWidget->connect_key_press(LINK(this, SvxFmAbsRecWin, KeyInputHdl)); m_xWidget->connect_activate(LINK(this, SvxFmAbsRecWin, ActivatedHdl)); m_xWidget->connect_focus_out(LINK(this, SvxFmAbsRecWin, FocusOutHdl)); @@ -51,13 +53,6 @@ void SvxFmAbsRecWin::dispose() InterimItemWindow::dispose(); } -void SvxFmAbsRecWin::GetFocus() -{ - if (m_xWidget) - m_xWidget->grab_focus(); - InterimItemWindow::GetFocus(); -} - SvxFmAbsRecWin::~SvxFmAbsRecWin() { disposeOnce(); |