From 8153605cf0e9525a35f61d9ff44b3c970d37c13f Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 2 Apr 2020 13:48:37 -0700 Subject: [PATCH] No need for wxRTTI in wxAnimationImpl --- include/wx/animate.h | 3 --- src/common/animatecmn.cpp | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) 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);