1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/common/animatecmn.cpp
3 // Purpose: wxAnimation and wxAnimationCtrl
4 // Author: Francesco Montorsi
8 // Copyright: (c) Francesco Montorsi
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
13 // ----------------------------------------------------------------------------
15 // ----------------------------------------------------------------------------
17 // For compilers that support precompilation, includes "wx.h".
18 #include "wx/wxprec.h"
20 #if wxUSE_ANIMATIONCTRL
22 #include "wx/animate.h"
23 #include "wx/bitmap.h"
25 const wxChar wxAnimationCtrlNameStr
[] = wxT("animationctrl");
28 wxAnimation wxNullAnimation
;
30 IMPLEMENT_ABSTRACT_CLASS(wxAnimationBase
, wxObject
)
31 IMPLEMENT_ABSTRACT_CLASS(wxAnimationCtrlBase
, wxControl
)
33 void wxAnimationCtrlBase::SetInactiveBitmap(const wxBitmap
&bmp
)
36 m_bmpStatic
.UnShare();
40 #endif // wxUSE_ANIMATIONCTRL