diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-06-14 21:03:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:29 +0100 |
commit | 2d2c0d9e5860249742330d8fdfd606509b8b256f (patch) | |
tree | a1265cc474c5c601c59e3f75b272bb73e5f5f9c7 /vcl | |
parent | 674f09289a35d306bb9369ed17c2cceca20e6093 (diff) |
MultiListBox replace by builder as well
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/lstbox.cxx | 3 |
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 ); |