diff --git a/src/widgets/ASlider.cpp b/src/widgets/ASlider.cpp index 431179a18..dcd906b6d 100644 --- a/src/widgets/ASlider.cpp +++ b/src/widgets/ASlider.cpp @@ -566,7 +566,7 @@ void LWSlider::AdjustSize(const wxSize & sz) mHeight = sz.GetHeight(); if( mBitmap ){ - mBitmap.release(); + mBitmap.reset(); } mThumbWidth = 14; mThumbHeight = 14;