diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-01-07 15:04:36 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-01-07 16:17:50 +0000 |
commit | 6eb461ed4861a735663c5ca7f7e6423b3a076a5b (patch) | |
tree | 7b27540a9f2f9bd201742ae512fe92c4b680a38b /vcl | |
parent | ddb4d8dff3ab92ed651442540756736b9d0ace46 (diff) |
default .ui ListBoxes to simple selection mode
Change-Id: I4cadf53fbdf25a399008155feaedc7e8b52ec303
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/builder.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 30a2188268f1..b18062583cad 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -869,7 +869,7 @@ Window *VclBuilder::makeObject(Window *pParent, const OString &name, const OStri } else { - ListBox *pListBox = new ListBox(pParent, WB_LEFT|WB_DROPDOWN|WB_VCENTER|WB_3DLOOK); + ListBox *pListBox = new ListBox(pParent, WB_LEFT|WB_DROPDOWN|WB_VCENTER|WB_3DLOOK|WB_SIMPLEMODE); pListBox->EnableAutoSize(true); if (!rItems.empty()) { @@ -891,7 +891,7 @@ Window *VclBuilder::makeObject(Window *pParent, const OString &name, const OStri // everything over to SvTreeViewBox //d) remove the users of makeSvTreeViewBox extractModel(id, rMap); - pWindow = new ListBox(pParent, WB_LEFT|WB_VCENTER|WB_3DLOOK); + pWindow = new ListBox(pParent, WB_LEFT|WB_VCENTER|WB_3DLOOK|WB_SIMPLEMODE); } else if (name == "GtkLabel") { |