diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-05-15 14:33:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-05-15 17:08:15 +0200 |
commit | 65d6dc999c3e453498a007273cea26290c720f4c (patch) | |
tree | 5bd1bccf1a2453a18ad95eba593817ee9eab9120 /include/vcl | |
parent | e923f752a3adfe1a941dcbc2fdffc626a569d59e (diff) |
inherit Expander from Widget instead of Container
likewise TreeView and IconView
Change-Id: Ic51b88ba9a63706443e8a34a971168702ddce418
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115659
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/weld.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index e818c96ed16f..327649375992 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -851,7 +851,7 @@ public: button column when enable_toggle_buttons is used). Column index -1 is reserved to access those columns. */ -class VCL_DLLPUBLIC TreeView : virtual public Container +class VCL_DLLPUBLIC TreeView : virtual public Widget { friend class ::LOKTrigger; @@ -1280,7 +1280,7 @@ public: using Widget::set_sensitive; }; -class VCL_DLLPUBLIC IconView : virtual public Container +class VCL_DLLPUBLIC IconView : virtual public Widget { friend class ::LOKTrigger; @@ -2136,7 +2136,7 @@ public: void connect_vadjustment_changed(const Link<TextView&, void>& rLink) { m_aVChangeHdl = rLink; } }; -class VCL_DLLPUBLIC Expander : virtual public Container +class VCL_DLLPUBLIC Expander : virtual public Widget { protected: Link<Expander&, void> m_aExpandedHdl; |