Kaydet (Commit) 3fad26e5 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:vclwidgets

Change-Id: I4292b8838b39dbf199da3cfa0f161bae1c75e9e4
üst c7efb51e
...@@ -81,7 +81,8 @@ private: ...@@ -81,7 +81,8 @@ private:
public: public:
Slider( vcl::Window* pParent, WinBits nStyle = WB_HORZ ); Slider( vcl::Window* pParent, WinBits nStyle = WB_HORZ );
virtual ~Slider();
virtual void dispose() SAL_OVERRIDE;
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE;
virtual void Tracking( const TrackingEvent& rTEvt ) SAL_OVERRIDE; virtual void Tracking( const TrackingEvent& rTEvt ) SAL_OVERRIDE;
......
...@@ -82,6 +82,17 @@ Slider::Slider( vcl::Window* pParent, WinBits nStyle ) : ...@@ -82,6 +82,17 @@ Slider::Slider( vcl::Window* pParent, WinBits nStyle ) :
ImplInit( pParent, nStyle ); ImplInit( pParent, nStyle );
} }
Slider::~Slider()
{
disposeOnce();
}
void Slider::dispose()
{
mpLinkedField.clear();
Control::dispose();
}
void Slider::ImplInitSettings() void Slider::ImplInitSettings()
{ {
vcl::Window* pParent = GetParent(); vcl::Window* pParent = GetParent();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment