summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorHerbert Dürr <hdu@apache.org>2013-12-02 12:33:06 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-12-02 16:45:50 +0000
commit3a437baee23d45ab64d557fed75e2e1b14aa5541 (patch)
treed18cb79cb687be48bd69b5e0542095cdbc1f8d20 /vcl
parentbdb5114bb77d9c9393587269b39cd517456cb08d (diff)
Resolves: #i74854# fix buttons in MsgBox with info icon
Patch by: hanya.runo@gmail.com Found by: ooo@catcons.co.uk Tested by: hdu@apache.org (cherry picked from commit 02cc651a1b45cbfbdab0aca6b57bff7bdf9e4f2c) Conflicts: basic/source/runtime/methods.cxx vcl/inc/vcl/msgbox.hxx Change-Id: I1656263e189f1a6cfa58436741bfa74ae0e6fffa
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/msgbox.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/source/window/msgbox.cxx b/vcl/source/window/msgbox.cxx
index 0e95ea8adced..82e216ade356 100644
--- a/vcl/source/window/msgbox.cxx
+++ b/vcl/source/window/msgbox.cxx
@@ -456,6 +456,14 @@ InfoBox::InfoBox( Window* pParent, const ResId & rResId ) :
// -----------------------------------------------------------------------
+InfoBox::InfoBox( Window* pParent, WinBits nStyle, const OUString& rMessage ) :
+ MessBox( pParent, nStyle, OUString(), rMessage )
+{
+ ImplInitInfoBoxData();
+}
+
+// -----------------------------------------------------------------------
+
Image InfoBox::GetStandardImage()
{
ImplInitMsgBoxImageList();