diff options
Diffstat (limited to 'include/vcl/svlbitm.hxx')
-rw-r--r-- | include/vcl/svlbitm.hxx | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/include/vcl/svlbitm.hxx b/include/vcl/svlbitm.hxx index 9484535ce81f..08b1604dd8b8 100644 --- a/include/vcl/svlbitm.hxx +++ b/include/vcl/svlbitm.hxx @@ -144,17 +144,15 @@ class VCL_DLLPUBLIC SvLBoxButton : public SvLBoxItem { bool isVis; SvLBoxButtonData* pData; - SvLBoxButtonKind const eKind; SvItemStateFlags nItemFlags; static void ImplAdjustBoxSize( Size& io_rCtrlSize, ControlType i_eType, vcl::RenderContext const & pRenderContext); public: - // An SvLBoxButton can be of three different kinds: an - // enabled checkbox (the normal kind), a disabled checkbox - // (which cannot be modified via UI), or a static image + // An SvLBoxButton can be of two different kinds: an + // enabled checkbox (the normal kind), or a static image // (see SV_BMP_STATICIMAGE; nFlags are effectively ignored // for that kind). - SvLBoxButton( SvLBoxButtonKind eTheKind, SvLBoxButtonData* pBData ); + SvLBoxButton( SvLBoxButtonData* pBData ); SvLBoxButton(); virtual ~SvLBoxButton() override; virtual void InitViewData(SvTreeListBox* pView, @@ -196,11 +194,6 @@ public: void SetStateUnchecked(); void SetStateTristate(); void SetStateHilighted(bool bHilight); - - SvLBoxButtonKind GetKind() const { return eKind; } - - // Check whether this button can be modified via UI - bool CheckModification() const; }; inline void SvLBoxButton::SetStateChecked() |