summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-14 21:03:05 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-09-28 08:48:29 +0100
commit2d2c0d9e5860249742330d8fdfd606509b8b256f (patch)
treea1265cc474c5c601c59e3f75b272bb73e5f5f9c7 /vcl
parent674f09289a35d306bb9369ed17c2cceca20e6093 (diff)
MultiListBox replace by builder as well
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/lstbox.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/control/lstbox.cxx b/vcl/source/control/lstbox.cxx
index e5ab94eda271..398b983d5c48 100644
--- a/vcl/source/control/lstbox.cxx
+++ b/vcl/source/control/lstbox.cxx
@@ -1586,6 +1586,9 @@ MultiListBox::MultiListBox( Window* pParent, WinBits nStyle ) :
MultiListBox::MultiListBox( Window* pParent, const ResId& rResId ) :
ListBox( WINDOW_MULTILISTBOX )
{
+ if (VclBuilderContainer::replace_buildable(pParent, rResId.GetId(), *this))
+ return;
+
rResId.SetRT( RSC_MULTILISTBOX );
WinBits nStyle = ImplInitRes( rResId );
ImplInit( pParent, nStyle );