vcl/source/window/builder.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit fbdeeb4dace3eb1bbf49fa4cc598ec174fbc80b7 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Nov 4 10:30:50 2019 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Fri Nov 8 12:31:55 2019 +0100 tdf#127993 remove default WB_HIDESELECTION so the highlighted entries in a TreeView doesn't appear different when it has focus vs not having focus. Change-Id: I823fc0cc503161ee93845eb0fb7458a41344d608 Reviewed-on: https://gerrit.libreoffice.org/81995 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tie...@documentfoundation.org> diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 35758ce26ac2..39ac93e3c820 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -2050,7 +2050,7 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString & //window we want to apply the packing props for this GtkIconView to VclPtr<vcl::Window> xWindowForPackingProps; extractModel(id, rMap); - WinBits nWinStyle = WB_CLIPCHILDREN|WB_LEFT|WB_VCENTER|WB_3DLOOK|WB_HIDESELECTION; + WinBits nWinStyle = WB_CLIPCHILDREN|WB_LEFT|WB_VCENTER|WB_3DLOOK; //IconView manages its own scrolling, vcl::Window *pRealParent = prepareWidgetOwnScrolling(pParent, nWinStyle); if (pRealParent != pParent) @@ -2081,7 +2081,7 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString & // everything over to SvHeaderTabListBox/SvTabListBox //c) remove the users of makeSvTabListBox and makeSvTreeListBox extractModel(id, rMap); - WinBits nWinStyle = WB_CLIPCHILDREN|WB_LEFT|WB_VCENTER|WB_3DLOOK|WB_HIDESELECTION; + WinBits nWinStyle = WB_CLIPCHILDREN|WB_LEFT|WB_VCENTER|WB_3DLOOK; if (m_bLegacy) { OUString sBorder = BuilderUtils::extractCustomProperty(rMap); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits