diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-07 20:28:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-05-08 10:11:43 +0200 |
commit | 962bf806f655e3c631bc1b77f8419e5e8fc64c0c (patch) | |
tree | 5fddabb206437dea8705b25d66dfaa12837f3f43 /toolkit | |
parent | 25339ae3ebfe05338a6809d4507c91c79aabff27 (diff) |
remove TriStateBox class
Change-Id: Ia6c76a9f0fc0be7790d0c801cbca4a7b8d478976
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93680
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxtoolkit.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index 69d4c01d1e4d..773b3e930537 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -1668,7 +1668,8 @@ vcl::Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp, *ppNewComp = new VCLXToolBox; break; case WindowType::TRISTATEBOX: - pNewWindow = VclPtr<TriStateBox>::Create( pParent, nWinBits ); + pNewWindow = VclPtr<CheckBox>::Create( pParent, nWinBits ); + static_cast<CheckBox*>(pNewWindow.get())->EnableTriState(true); break; case WindowType::WARNINGBOX: pNewWindow = VclPtr<WarningBox>::Create( pParent, nMessBoxStyle, nWinBits, OUString() ); |