summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-14 16:30:02 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-14 16:30:16 +0100
commit86212cec81fe81ec79c17dff49734d63deed7247 (patch)
tree606bb3742f23553f5225982cd59e442e27962ef6 /vcl/source
parentd17698acc7e5b0fde24b704760a533511d868b3d (diff)
ensure message box is first child of message dialog
Change-Id: Iafb0b074ee9705d96d6deac9ade5baeb94586d74
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/window/layout.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index dff2546fc18c..34bf83a8c786 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -2019,6 +2019,7 @@ short MessageDialog::Execute()
assert(pContainer);
m_pGrid = new VclGrid(pContainer);
+ m_pGrid->reorderWithinParent(0);
m_pGrid->set_column_spacing(12);
m_pImage = new FixedImage(m_pGrid, WB_CENTER | WB_VCENTER | WB_3DLOOK);