diff --git a/include/wx/animate.h b/include/wx/animate.h index 2f595ae03b..98c1a8e5ef 100644 --- a/include/wx/animate.h +++ b/include/wx/animate.h @@ -56,9 +56,6 @@ public: wxAnimationType type = wxANIMATION_TYPE_ANY) = 0; virtual bool Load(wxInputStream& stream, wxAnimationType type = wxANIMATION_TYPE_ANY) = 0; - -protected: - wxDECLARE_ABSTRACT_CLASS(wxAnimationImpl); }; diff --git a/src/common/animatecmn.cpp b/src/common/animatecmn.cpp index 91167a0444..37e4fb55f5 100644 --- a/src/common/animatecmn.cpp +++ b/src/common/animatecmn.cpp @@ -29,10 +29,10 @@ #include "wx/image.h" #include "wx/dcmemory.h" +// global objects const char wxAnimationCtrlNameStr[] = "animationctrl"; wxAnimation wxNullAnimation; -wxIMPLEMENT_ABSTRACT_CLASS(wxAnimationImpl, wxObject); wxIMPLEMENT_DYNAMIC_CLASS(wxAnimation, wxObject); wxIMPLEMENT_ABSTRACT_CLASS(wxAnimationCtrlBase, wxControl);