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:27:12 +0000 |
commit | 166d8257979aac6775319a9e1f305bc94df97e29 (patch) | |
tree | 780a7ba43ff9b8ba1f449238d23d2e62b9c8777a /vcl/source/window/dlgctrl.cxx | |
parent | 0c870ab35f0648ac5e87adc84ad4c711c4774330 (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 'vcl/source/window/dlgctrl.cxx')
-rw-r--r-- | vcl/source/window/dlgctrl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/dlgctrl.cxx b/vcl/source/window/dlgctrl.cxx index 0ff589bc3407..6c481da574a6 100644 --- a/vcl/source/window/dlgctrl.cxx +++ b/vcl/source/window/dlgctrl.cxx @@ -78,7 +78,7 @@ static Window* ImplGetSubChildWindow( Window* pParent, sal_uInt16 n, sal_uInt16& Window* pTabPage = NULL; Window* pFoundWindow = NULL; - Window* pWindow = pParent->GetWindow( WINDOW_FIRSTCHILD ); + Window* pWindow = firstLogicalChildOfParent(pParent); Window* pNextWindow = pWindow; while ( pWindow ) { |