- void SetAnimation(wxAnimationBase* animation, bool destroyAnimation = FALSE);
- wxAnimationBase* GetAnimation() const { return m_animation; }
+ void SetAnimation(wxAnimationBase* animation, bool destroyAnimation = false);
+ wxAnimationBase* GetAnimation() const
+ { return m_animation; }
+
+ void SetDestroyAnimation(bool destroyAnimation)
+ { m_destroyAnimation = destroyAnimation; }
+
+ bool GetDestroyAnimation() const
+ { return m_destroyAnimation; }