]> git.saurik.com Git - wxWidgets.git/blob - src/common/animatecmn.cpp
[ 1585253 ] Various important bugfixes to wxFileName::Normalize
[wxWidgets.git] / src / common / animatecmn.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/common/animatecmn.cpp
3 // Purpose: wxAnimation and wxAnimationCtrl
4 // Author: Francesco Montorsi
5 // Modified By:
6 // Created: 24/09/2006
7 // Id: $Id$
8 // Copyright: (c) Francesco Montorsi
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12
13 // ----------------------------------------------------------------------------
14 // headers
15 // ----------------------------------------------------------------------------
16
17 // For compilers that support precompilation, includes "wx.h".
18 #include "wx/wxprec.h"
19
20 #if wxUSE_ANIMATIONCTRL
21
22 #include "wx/animate.h"
23 #include "wx/bitmap.h"
24
25 const wxChar wxAnimationCtrlNameStr[] = wxT("animationctrl");
26
27 // global object
28 wxAnimation wxNullAnimation;
29
30 IMPLEMENT_ABSTRACT_CLASS(wxAnimationBase, wxObject)
31 IMPLEMENT_ABSTRACT_CLASS(wxAnimationCtrlBase, wxControl)
32
33 void wxAnimationCtrlBase::SetInactiveBitmap(const wxBitmap &bmp)
34 {
35 m_bmpStatic = bmp;
36 m_bmpStatic.UnShare();
37 }
38
39
40 #endif // wxUSE_ANIMATIONCTRL