diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-07-04 18:00:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-07-04 19:55:29 +0200 |
commit | f9d86399e92d9c734fdffc6a7c83a2007877ba93 (patch) | |
tree | a3f511ff9734e2c9e688bfa74d64f609e3aedd52 /include/vcl/toolkit | |
parent | d70da0b9e24991f8d58e83f53dbbf5b58c721f43 (diff) |
tdf#134479 allow disable font preview to work on existing font comboboxes
not just newly created one.
you can only restore back to a text-only view, not a text+(icon/whatever) view
Change-Id: Ic3becd7a942ee6b1dbabb57eebf1e25d1b626fdb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97972
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/toolkit')
-rw-r--r-- | include/vcl/toolkit/combobox.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/toolkit/combobox.hxx b/include/vcl/toolkit/combobox.hxx index a3c4e1cee5b3..611bce590add 100644 --- a/include/vcl/toolkit/combobox.hxx +++ b/include/vcl/toolkit/combobox.hxx @@ -102,6 +102,7 @@ public: void SetUserItemSize( const Size& rSz ); void EnableUserDraw( bool bUserDraw ); + bool IsUserDrawEnabled() const; void DrawEntry( const UserDrawEvent& rEvt ); void SetBorderStyle( WindowBorderStyle nBorderStyle ); |