diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-08-23 12:29:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:38 +0100 |
commit | 67b234b81d28327766573fc13941fc152facc71b (patch) | |
tree | 727879e2b10086832d65121730b4de91ae58d007 | |
parent | 5ef9879518c70b3dea380217c9c4b5cb455f91a7 (diff) |
map GtkSeparator to FixedLine
Change-Id: I89b4663d94af7a57d915ea4386d5354a8d66190c
-rw-r--r-- | vcl/source/window/builder.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 83ddfc87c335..ad792b98051c 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -452,6 +452,13 @@ Window *VclBuilder::makeObject(Window *pParent, const rtl::OString &name, const pWindow = new FixedText(pParent, WB_CENTER|WB_VCENTER|WB_3DLOOK); else if (name.equalsL(RTL_CONSTASCII_STRINGPARAM("GtkImage"))) pWindow = new FixedImage(pParent, WB_CENTER|WB_VCENTER|WB_3DLOOK); + else if (name.equalsL(RTL_CONSTASCII_STRINGPARAM("GtkSeparator"))) + { + if (extractOrientation(rMap)) + pWindow = new FixedLine(pParent, WB_VERT); + else + pWindow = new FixedLine(pParent, WB_HORZ); + } else if (name.equalsL(RTL_CONSTASCII_STRINGPARAM("GtkEntry"))) pWindow = new Edit(pParent, WB_LEFT|WB_VCENTER|WB_BORDER|WB_3DLOOK); else if (name.equalsL(RTL_CONSTASCII_STRINGPARAM("GtkNotebook"))) |