summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-07-26 09:30:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-07-26 14:13:02 +0100
commit1b95b749e0fe8d909b918cf9b37b45209d6d3f8b (patch)
tree87a061b26e2e4ac799865c66fae19dc494f5c48c /vcl
parentc11b6db4a08cab2ba48a733bc565f26e33492061 (diff)
adapt code for define database range dialog .ui conversion
Change-Id: If89e5eded5873f1bb33d04bebcc742d747d7a1c4
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/builder.cxx7
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())
{