diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-12-12 12:49:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-12-12 13:29:27 +0000 |
commit | 7d34a702136765cab15edb47aecae9181edd2802 (patch) | |
tree | 40e16587d704a44c2be6593df52cb1aa11bd111a /svx | |
parent | 4f97f17d8a86546465ebdc0fa39b5c453ad60781 (diff) |
Resolves: fdo#57469 allow tab to traverse into custom widgets
The magic WB_TABSTOP bit is the one that allows a widget to be accepted as a
candidate for getting focus when pressing tab
(cherry picked from commit 166d8257979aac6775319a9e1f305bc94df97e29)
Conflicts:
svx/source/dialog/fontlb.cxx
Change-Id: I7d964bae6b84184ccbc4652d66cf3d2637566405
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/charmap.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/langbox.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/charmap.cxx b/svx/source/dialog/charmap.cxx index 817f2ddf02e4..42b6417703bf 100644 --- a/svx/source/dialog/charmap.cxx +++ b/svx/source/dialog/charmap.cxx @@ -66,7 +66,7 @@ SvxShowCharSet::SvxShowCharSet(Window* pParent, const ResId& rResId) } SvxShowCharSet::SvxShowCharSet(Window* pParent) - : Control(pParent) + : Control(pParent, WB_TABSTOP) , m_pAccessible(NULL) , aVscrollSB( this, WB_VERT) { diff --git a/svx/source/dialog/langbox.cxx b/svx/source/dialog/langbox.cxx index 495ebd056ddd..c36517d553f3 100644 --- a/svx/source/dialog/langbox.cxx +++ b/svx/source/dialog/langbox.cxx @@ -139,7 +139,7 @@ SvxLanguageBox::SvxLanguageBox( Window* pParent, WinBits nBits, sal_Bool bCheck extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeSvxLanguageBox(Window *pParent, VclBuilder::stringmap &) { - SvxLanguageBox *pListBox = new SvxLanguageBox(pParent, WB_LEFT|WB_DROPDOWN|WB_VCENTER|WB_3DLOOK); + SvxLanguageBox *pListBox = new SvxLanguageBox(pParent, WB_LEFT|WB_DROPDOWN|WB_VCENTER|WB_3DLOOK|WB_TABSTOP); pListBox->EnableAutoSize(true); return pListBox; } |