]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/animate.cpp
remove unused XIM code, minor cleanup
[wxWidgets.git] / src / gtk / animate.cpp
index 1eb6239e95387d22cf043efd382cf8f33a0781f1..cf7fa686a382b4ff35d9d9b402f44648f12482eb 100644 (file)
@@ -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);