summaryrefslogtreecommitdiff
path: root/sw/source/ui/cctrl/actctrl.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-12-12 12:49:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-12-12 13:27:12 +0000
commit166d8257979aac6775319a9e1f305bc94df97e29 (patch)
tree780a7ba43ff9b8ba1f449238d23d2e62b9c8777a /sw/source/ui/cctrl/actctrl.cxx
parent0c870ab35f0648ac5e87adc84ad4c711c4774330 (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 Change-Id: I7d964bae6b84184ccbc4652d66cf3d2637566405
Diffstat (limited to 'sw/source/ui/cctrl/actctrl.cxx')
-rw-r--r--sw/source/ui/cctrl/actctrl.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/cctrl/actctrl.cxx b/sw/source/ui/cctrl/actctrl.cxx
index 010f1a9e8e2c..d930a46a6a55 100644
--- a/sw/source/ui/cctrl/actctrl.cxx
+++ b/sw/source/ui/cctrl/actctrl.cxx
@@ -51,14 +51,14 @@ long NumEditAction::Notify( NotifyEvent& rNEvt )
}
NoSpaceEdit::NoSpaceEdit( Window* pParent, const ResId& rResId)
- : Edit(pParent, rResId),
- sForbiddenChars(rtl::OUString(" "))
+ : Edit(pParent, rResId)
+ , sForbiddenChars(rtl::OUString(" "))
{
}
NoSpaceEdit::NoSpaceEdit(Window* pParent)
- : Edit(pParent),
- sForbiddenChars(rtl::OUString(" "))
+ : Edit(pParent, WB_BORDER|WB_TABSTOP)
+ , sForbiddenChars(rtl::OUString(" "))
{
}