diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-07-26 09:30:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-26 14:13:02 +0100 |
commit | 1b95b749e0fe8d909b918cf9b37b45209d6d3f8b (patch) | |
tree | 87a061b26e2e4ac799865c66fae19dc494f5c48c /vcl | |
parent | c11b6db4a08cab2ba48a733bc565f26e33492061 (diff) |
adapt code for define database range dialog .ui conversion
Change-Id: If89e5eded5873f1bb33d04bebcc742d747d7a1c4
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/builder.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index b091bf5bddaa..da45c56b5831 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -1212,7 +1212,12 @@ Window *VclBuilder::makeObject(Window *pParent, const OString &name, const OStri OString sPattern = extractCustomProperty(rMap); extractModel(id, rMap); - WinBits nBits = WB_LEFT|WB_VCENTER|WB_3DLOOK|WB_DROPDOWN; + WinBits nBits = WB_LEFT|WB_VCENTER|WB_3DLOOK; + + bool bDropdown = VclBuilder::extractDropdown(rMap); + + if (bDropdown) + nBits |= WB_DROPDOWN; if (!sPattern.isEmpty()) { |