diff options
Diffstat (limited to 'vcl/source/window/toolbox.cxx')
-rw-r--r-- | vcl/source/window/toolbox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index c76de72b03e1..c7fe44fd6406 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -1171,7 +1171,7 @@ void ToolBox::ImplInit( vcl::Window* pParent, WinBits nStyle ) mbScroll = (nStyle & WB_SCROLL) != 0; mnWinStyle = nStyle; - DockingWindow::ImplInit( pParent, nStyle & ~(WB_BORDER) ); + DockingWindow::ImplInit( pParent, nStyle & ~WB_BORDER ); // dockingwindow's ImplInit removes some bits, so restore them here to allow keyboard handling for toolbars ImplGetWindowImpl()->mnStyle |= WB_TABSTOP|WB_NODIALOGCONTROL; // always set WB_TABSTOP for ToolBars |