projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Match EscapeSqlChars() interface.
[wxWidgets.git]
/
src
/
common
/
animatecmn.cpp
diff --git
a/src/common/animatecmn.cpp
b/src/common/animatecmn.cpp
index d3b69867f56762ea408d661f15e97f41b48dd933..e9c0b8678a2d85753c23d81f47ee3cbe921081e7 100644
(file)
--- a/
src/common/animatecmn.cpp
+++ b/
src/common/animatecmn.cpp
@@
-20,16
+20,21
@@
#if wxUSE_ANIMATIONCTRL
#include "wx/animate.h"
#if wxUSE_ANIMATIONCTRL
#include "wx/animate.h"
+#include "wx/bitmap.h"
const wxChar wxAnimationCtrlNameStr[] = wxT("animationctrl");
// global object
wxAnimation wxNullAnimation;
const wxChar wxAnimationCtrlNameStr[] = wxT("animationctrl");
// global object
wxAnimation wxNullAnimation;
-//wxIMPLEMENT_HANDLER_LIST_MANAGER(wxAnimation,
IMPLEMENT_ABSTRACT_CLASS(wxAnimationBase, wxObject)
IMPLEMENT_ABSTRACT_CLASS(wxAnimationCtrlBase, wxControl)
IMPLEMENT_ABSTRACT_CLASS(wxAnimationBase, wxObject)
IMPLEMENT_ABSTRACT_CLASS(wxAnimationCtrlBase, wxControl)
+void wxAnimationCtrlBase::SetInactiveBitmap(const wxBitmap &bmp)
+{
+ m_bmpStatic = bmp;
+ m_bmpStatic.UnShare();
+}
#endif // wxUSE_ANIMATIONCTRL
#endif // wxUSE_ANIMATIONCTRL