diff options
Diffstat (limited to 'vcl/source/control/ivctrl.cxx')
-rw-r--r-- | vcl/source/control/ivctrl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/ivctrl.cxx b/vcl/source/control/ivctrl.cxx index a2f502ff81dc..14e0ec44938b 100644 --- a/vcl/source/control/ivctrl.cxx +++ b/vcl/source/control/ivctrl.cxx @@ -435,9 +435,9 @@ struct VerticalTabPageData VclPtr<vcl::Window> xPage; ///< the TabPage itself }; -VerticalTabControl::VerticalTabControl(vcl::Window* pParent) +VerticalTabControl::VerticalTabControl(vcl::Window* pParent, bool bWithIcons) : VclHBox(pParent) - , m_xChooser(VclPtr<SvtIconChoiceCtrl>::Create(this, WB_3DLOOK | WB_ICON | WB_BORDER | + , m_xChooser(VclPtr<SvtIconChoiceCtrl>::Create(this, WB_3DLOOK | (bWithIcons ? WB_ICON : WB_DETAILS) | WB_BORDER | WB_NOCOLUMNHEADER | WB_HIGHLIGHTFRAME | WB_NODRAGSELECTION | WB_TABSTOP | WB_CLIPCHILDREN | WB_ALIGN_LEFT | WB_NOHSCROLL)) |