Kaydet (Commit) dd929d99 authored tarafından Caolán McNamara's avatar Caolán McNamara

drop WB_SIMPLEMODE for TreeView

multi selections are weird with this set

Change-Id: I765c46294803d06911a6ac3fc37d68dd001aacdc
Reviewed-on: https://gerrit.libreoffice.org/64187
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 30a07561
...@@ -1904,7 +1904,7 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString & ...@@ -1904,7 +1904,7 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString &
// everything over to SvHeaderTabListBox/SvTabListBox // everything over to SvHeaderTabListBox/SvTabListBox
//c) remove the users of makeSvTabListBox and makeSvTreeListBox //c) remove the users of makeSvTabListBox and makeSvTreeListBox
extractModel(id, rMap); extractModel(id, rMap);
WinBits nWinStyle = WB_CLIPCHILDREN|WB_LEFT|WB_VCENTER|WB_3DLOOK|WB_SIMPLEMODE; WinBits nWinStyle = WB_CLIPCHILDREN|WB_LEFT|WB_VCENTER|WB_3DLOOK;
if (m_bLegacy) if (m_bLegacy)
{ {
OUString sBorder = BuilderUtils::extractCustomProperty(rMap); OUString sBorder = BuilderUtils::extractCustomProperty(rMap);
...@@ -1917,7 +1917,7 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString & ...@@ -1917,7 +1917,7 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString &
nWinStyle |= WB_BORDER; nWinStyle |= WB_BORDER;
if (m_bLegacy) if (m_bLegacy)
{ {
xWindow = VclPtr<ListBox>::Create(pRealParent, nWinStyle); xWindow = VclPtr<ListBox>::Create(pRealParent, nWinStyle | WB_SIMPLEMODE);
xWindowForPackingProps = xWindow; xWindowForPackingProps = xWindow;
} }
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment