m_parent->DoAddChild( this );
PostCreation(size);
- SetBestSize(size);
+ SetInitialSize(size);
- if (anim != wxNullAnimation)
+ if (anim.IsOk())
SetAnimation(anim);
// init the timer used for animation
void wxAnimationCtrl::SetInactiveBitmap(const wxBitmap &bmp)
{
- wxAnimationCtrlBase::SetInactiveBitmap(bmp);
+ m_bmpStatic = bmp;
// update the pixbuf associated with m_widget now...
if (!IsPlaying())