git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43378
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
const wxAnimation& animation, const wxPoint& pos,
const wxSize& size, long style, const wxString& name)
{
const wxAnimation& animation, const wxPoint& pos,
const wxSize& size, long style, const wxString& name)
{
- m_animation = animation;
m_timer.SetOwner(this);
if (!base_type::Create(parent, id, pos, size, style, wxDefaultValidator, name))
m_timer.SetOwner(this);
if (!base_type::Create(parent, id, pos, size, style, wxDefaultValidator, name))
// by default we get the same background colour of our parent
SetBackgroundColour(parent->GetBackgroundColour());
// by default we get the same background colour of our parent
SetBackgroundColour(parent->GetBackgroundColour());
+
+ SetAnimation(animation);
+