X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c2f12218ce9231e0d21a0d5516fcaa7df3e0a2a0..bc429ce01f519f3edae182b516cb15b8d2df54a7:/src/gtk/animate.cpp diff --git a/src/gtk/animate.cpp b/src/gtk/animate.cpp index 1eb6239e95..cf7fa686a3 100644 --- a/src/gtk/animate.cpp +++ b/src/gtk/animate.cpp @@ -180,7 +180,7 @@ BEGIN_EVENT_TABLE(wxAnimationCtrl, wxAnimationCtrlBase) EVT_TIMER(wxID_ANY, wxAnimationCtrl::OnTimer) END_EVENT_TABLE() -wxAnimationCtrl::wxAnimationCtrl() +void wxAnimationCtrl::Init() { m_anim = NULL; m_iter = NULL; @@ -215,9 +215,6 @@ bool wxAnimationCtrl::Create( wxWindow *parent, wxWindowID id, PostCreation(size); SetBestSize(size); - m_anim = NULL; - m_iter = NULL; - m_bPlaying = false; if (anim != wxNullAnimation) SetAnimation(anim);